예제 #1
0
 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);
         }
     }
 }
예제 #2
0
 public override void Reason(UnityEngine.Transform player, UnityEngine.Transform npc)
 {
     if (dragonController.StateChange)
     {
         dragonController.PerformTransition((int)DragonController.Transition.Disappear);
     }
 }