コード例 #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
ファイル: DragonBeat.cs プロジェクト: 737871854/FireMen2
 public override void Reason(UnityEngine.Transform player, UnityEngine.Transform npc)
 {
     if (dragonController.StateChange)
     {
         dragonController.PerformTransition((int)DragonController.Transition.Disappear);
     }
 }