using System; using UnityEngine; namespace BaseGames.Boss { /// /// 有序攻击序列(一个技能内的多段连段)。 /// [CreateAssetMenu(menuName = "BaseGames/Boss/SkillSequence")] public class SkillSequenceSO : ScriptableObject { [Serializable] public struct SequenceStep { public AttackPatternSO pattern; [Min(0f)] public float delayBeforeStep; } public SequenceStep[] steps; [Header("序列完成后的行为")] public bool RepeatIfPlayerInRange; [Min(0f)] public float RepeatDelay; [Range(0, 10)] public int MaxRepeatCount; } }