Beispiel #1
0
 //Defend
 void Defend()
 {
     enemyState = UNITSTATE.DEFEND;
     animator.ShowDefendEffect();
     animator.SetAnimatorTrigger("Defend");
     GlobalAudioPlayer.PlaySFX("DefendHit");
     animator.SetDirection(currentDirection);
 }