public void ShowMenu(bool reset = false) { GamePlayMode = false; TrackManagerComponent.SpawnDistance = 40; if (reset) { TrackManagerComponent.ResetTrack(); BallMovementComponent.StopMoving(); BallMovementComponent.RestartBallPosition(); } UI.MainMenu(); GameViewCamera.enabled = true; TrackViewCamera.enabled = false; }