zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/XNodeDemo/NewSkill/RunTime/SkillOption_修改Modifier数据.cs

28 lines
672 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using ET;
using Sirenix.OdinInspector;
using UnityEngine;
#if UNITY_EDITOR
#endif
namespace Cal
{
[GUIColor(0.8f, 0.9f, 0.2f)]
[System.Serializable]
public class SkillOption_Modifier : SkillOptionBase
{
public override SkillOptionType optionType => SkillOptionType.Modifier;
[BoxGroup("$optionType", CenterLabel = true)]
[LabelText("目标选择")]
public SelectTargetBase selectTarget = new SelectSingleTarget();
[BoxGroup("$optionType", CenterLabel = true)]
[LabelText("Modifier的Id")]
#if UNITY
[SerializeField]
#endif
public ModifierId modifierId;
}
}