40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
using ET;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
#if UNITY_EDITOR
|
|
#endif
|
|
|
|
namespace Cal
|
|
{
|
|
[GUIColor(0.6f, 0.8f, 0f)]
|
|
[System.Serializable]
|
|
[BsonIgnoreExtraElements]
|
|
public class SkillOption_播放特效 : SkillOptionBase
|
|
{
|
|
public override SkillOptionType optionType => SkillOptionType.播放特效;
|
|
|
|
[BoxGroup("$optionType", CenterLabel = true)]
|
|
[LabelText("目标选择")]
|
|
public SelectTargetBase selectTarget;
|
|
|
|
[BoxGroup("$optionType", CenterLabel = true)]
|
|
[LabelText("特效Id")]
|
|
public int effectId;
|
|
|
|
[BoxGroup("$optionType", CenterLabel = true)]
|
|
[LabelText("特效类型")]
|
|
[HideInInspector]
|
|
public EffectType effectType;
|
|
|
|
[BoxGroup("$optionType", CenterLabel = true)]
|
|
[LabelText("特效目标")]
|
|
public EffectTargetType effectPosType;
|
|
|
|
|
|
[BoxGroup("$optionType", CenterLabel = true)]
|
|
[LabelText("特效附着点")]
|
|
public EffectAttachType effectAttachType;
|
|
}
|
|
}
|