예제 #1
0
 public void Execute()
 {
     if (!animator.GetCurrentAnimatorStateInfo(0).IsName("Enemy1_fall") && !animator.GetCurrentAnimatorStateInfo(0).IsName("Enemy1_damage"))
     {
         if (enemy.ifELeft())
         {
             animator.SetFloat("Velocity", 0);
             animator.SetBool("isblastanim", true);
             enemy.StartCoroutine(enemy.blast());
         }
     }
     enemy.ChangeState(new IIdeal3State());
 }
예제 #2
0
 public void RunSpeedBurst()
 {
     _enemy3Script.StartCoroutine(_enemy3Script.SpeedBurst());
 }