//Control input events private void Update() { MouseMoved(mouseRotationSpeed); if (Mathf.Abs(inputX.Vertical()) >= .1f || Mathf.Abs(inputX.Horizontal()) >= .1f) { KeyboardMovePressed(); } if (inputX.isSpace()) { PressingSpace(); } if (inputX.isShiftPressed()) { PressedShift(); } if (inputX.isShiftReleased()) { ReleasedShift(); } }