Beispiel #1
0
 public void Tick()
 {
     if (reAttackTimer >= RE_ATTACK_TIME)
     {
         enemyAnim.PlayAttackAnimation();
         reAttackTimer = 0;
     }
     else
     {
         reAttackTimer += Time.deltaTime;
     }
 }