private void FixedUpdate() { CheckSurroundings(); CheckIfWallSliding(); CheckMoveConditions(); ApplyMovement(); rm.CapFallSpeed(); DoStuff() }