예제 #1
0
 public void CheckForSword()
 {
     if (Input.GetButtonDown("Sword"))
     {
         m_Animator.Play("Sword", -1, 0f);
         m_Sword.Swing();
     }
 }