public void isFinishedCleaning() { GameManager.inputController.enableInputController(); GUIManager.activatePlayingGUIWithFadeIn(); cleaningCorruption = false; GameManager.mainCamera.GetComponent <CameraFollowingPlayer> ().returnOriginalZ(); GameManager.mainCamera.GetComponent <CameraFollowingPlayer> ().resetObjective(); GUIManager.activateMinimapGUI(); if (GameManager.playerSpaceBody.getClosestPlanet().isPlanetCorrupted()) { PlanetEventsManager pem = (GameManager.playerSpaceBody.getClosestPlanet() as PlanetCorrupted).getPlanetEventsManager(); if (pem != null) { pem.planetCleansed(); } } GameManager.persistentData.spaceJumpUnlocked = true; GameManager.audioManager.playSong(1); }