12345678910111213141516171819202122232425262728293031323334 |
- //------------------------------------------------------------
- // Game Framework
- // Copyright © 2013-2021 Jiang Yin. All rights reserved.
- // Homepage: https://gameframework.cn/
- // Feedback: mailto:ellan@gameframework.cn
- //------------------------------------------------------------
- using System;
- using UnityEngine;
- namespace MetaClient
- {
- [Serializable]
- public class EffectData : EntityData
- {
- [SerializeField]
- private float m_KeepTime = 0f;
- public EffectData(int entityId, int typeId)
- : base(entityId, typeId)
- {
- m_KeepTime = 3f;
- }
- public float KeepTime
- {
- get
- {
- return m_KeepTime;
- }
- }
- }
- }
|