using System; using Colosseum.Enemy; using Unity.Behavior; using Unity.Properties; using Action = Unity.Behavior.Action; /// /// 현재 근접 패턴 차례가 보조 패턴인지 확인하는 공통 체크 액션입니다. /// [Serializable, GeneratePropertyBag] [NodeDescription( name: "Check Secondary Pattern Turn", story: "현재 근접 패턴 차례가 보조 패턴인지 확인", category: "Action", id: "e85477bd25894248aeeea8b41efc7f48")] public partial class CheckSecondaryPatternTurnAction : Action { protected override Status OnStart() { BossCombatBehaviorContext context = GameObject.GetComponent(); return context != null && context.IsNextSecondaryPattern() ? Status.Success : Status.Failure; } }