public override void Reason(UnityEngine.Transform player, UnityEngine.Transform npc) { if (dragonController.StateChange) { if (dragonController.ActionType == E_ActionType.SpecialCircle) { dragonController.PerformTransition((int)DragonController.Transition.Attack); } if (dragonController.ActionType == E_ActionType.ShakeScreen) { dragonController.PerformTransition((int)DragonController.Transition.Hold); } } }
public override void Reason(UnityEngine.Transform player, UnityEngine.Transform npc) { if (dragonController.StateChange) { dragonController.PerformTransition((int)DragonController.Transition.Disappear); } }