예제 #1
0
    public void ExitInstallButton()
    {
        Exitbutton.SetActive(false);
        ErrorMessageText.text = "";

        installscreen.GetComponent <Canvas>().enabled = false;
        Gamebuttons.Enable();
    }
예제 #2
0
    public void OpenOptions()
    {
        Options.SetActive(true);
        Warning.SetActive(false);

        RequiredSpaceField.text = (RequiredSpace + " GB");
        Gamebuttons.Disable();
    }
    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);
    }
예제 #4
0
 public void CancelInstall()
 {
     Gamebuttons.Enable();
     GetComponent <Canvas>().enabled = false;
 }