/** * Reset all values to default. */ public static void Reset() { Speed = 10f; PlatformSize = 4; SpawnMin = 10f; SpawnMax = 20f; CurrentState = GameState.PREGAME; Distance = 0.0f; Ranking = 0; UI.Reset(); Spawner.Reset(); Player.Reset(); }