private bool DodgeInput() { if (Input.GetButton("Down") && !myFeetCollider.IsTouchingLayers(LayerMask.GetMask("Climbing"))) { mover.Dodge(true); return(true); } mover.Dodge(false); return(false); }