예제 #1
0
 protected virtual void CrouchInput()
 {
     if (crouchInput.GetButtonDown())
     {
         cc.Crouch();
     }
 }
예제 #2
0
        protected virtual void CrouchInput()
        {
            cc.AutoCrouch();

            if (crouchInput.useInput && crouchInput.GetButtonDown())
            {
                cc.Crouch();
            }
        }