void FixedUpdate() { if (OnStealthInput != null && (Input.GetButtonDown("crouch") || Input.GetButtonUp("crouch"))) { OnStealthInput(); } if (move) { float horizontalMove = Input.GetAxis("Horizontal"); move.HorizontalMove(horizontalMove); float verticalMove = Input.GetAxis("Vertical"); move.VerticalMove(verticalMove); } if (interaction) { if (Input.GetButtonDown("use")) { interaction.CloseInteraction(); } } }