void FixedUpdate() { if (controlState == ControlState.CONTROLLABLE) { movementState = SwitchState(movementState.ProcessMovement(this)); movementState = SwitchState(movementState.ProcessJump(this)); } }