public void ExitInstallButton() { Exitbutton.SetActive(false); ErrorMessageText.text = ""; installscreen.GetComponent <Canvas>().enabled = false; Gamebuttons.Enable(); }
public static void InstallDone() // dont change this { Unzipper Unzipper = GameObject.Find("Unzipper").GetComponent <Unzipper>(); Unzipper.GetComponent <Unzipper>().InstallText.text = ("Afronden van installatie"); DownloadGame downloader = GameObject.Find("Downloader").GetComponent <DownloadGame>(); InstallOptions installoptions = GameObject.Find("InstallOptions").GetComponent <InstallOptions>(); installoptions.ResetShortcut(); downloader.GetComponent <DownloadGame>().CleanUp(); Unzipper.GetComponent <Unzipper>().InstallText.text = ("Installatie Voltooid !"); Gamebuttons.Enable(); ExitButtonStatic.SetActive(true); }
public void CancelInstall() { Gamebuttons.Enable(); GetComponent <Canvas>().enabled = false; }