private void CheckOtherKeys() { if (Input.GetKeyDown(KeyCode.C)) { ClearAllBuildings(); if (cor != null) { StopCoroutine(cor); inGeneration = false; } } if (Input.GetKeyDown(KeyCode.E)) { currentPlanet.ApplyEarthPresetBack(); currentPlanet.Generate(); manager.SetTitle(gameObject.name); } }