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