using Sirenix.OdinInspector; using System; [Serializable] public sealed class FixedShow { [LabelText("演出点类型")] public E_ShowPointType ShowPointType; [LabelText("演出点索引")] public int ShowIndex; [LabelText("角色id")] public int CharacterId; [LabelText("角色演出Timeline名"), ShowIf("@E_ShowPointType.Character==ShowPointType")] public string CharacterTimelineName; [LabelText("道具演出Timeline名"), ShowIf("@E_ShowPointType.Item==ShowPointType")] public string ItemTimelineName; }