private void FixedUpdate() { if (currentState == GameState.Game) { if (currentBall == null) { UpdateBall(); } InputContrloller.LocalUpdate(); currentBall.LocalUpdate(); enemy.LocalUpdate(); } }