using NodeCanvas.Framework; using ParadoxNotion.Design; using UnityEngine; namespace NodeCanvas.Tasks.Conditions { [Name("Is In Transition")] [Category("Animator")] public class MecanimIsInTransition : ConditionTask { public BBParameter layerIndex; protected override string info { get { return "Mec.Is In Transition"; } } protected override bool OnCheck() { return agent.IsInTransition(layerIndex.value); } } }