public void Reset() { loader.Reset(); world.Reset(); TileFactory.Clear(); GameUtils.Seed = 0; Serialization.Reset(); player.transform.position = new Vector3(0f, -3f, 10f); player.GetComponent <Rigidbody>().isKinematic = true; Active = false; boids.StopBoids(); boids.StartBoids(); menuGlow.color = Tile.Brighten(RenderSettings.fogColor, 0.5f); RenderSettings.fogColor = Tile.Brighten(Color.Lerp(RenderSettings.fogColor, Color.black, 0.9f), 0.05f); RenderSettings.skybox.SetColor("_Tint", RenderSettings.fogColor); RenderSettings.fogDensity = 10f; RenderSettings.ambientIntensity = 0f; sun.intensity = 0f; afterburner.SetActive(false); clockText.text = ""; chunkText.text = ""; dayText.text = ""; scoreText.text = ""; nameText.text = ""; logMessage.text = ""; startGame.playMusic.StopPlaying(); StartCoroutine(GetRandomWord()); showPanels.ShowMenu(); }