Ejemplo n.º 1
0
    void Start()
    {
        sidequests = FindObjectOfType <Sidequests>();
        theTextBox = FindObjectOfType <TextBoxManager>();

        if (PlayerPrefs.GetInt("LaptopsDone") == 2)
        {
            MrBassonZone.SetActive(false);
        }
    }
Ejemplo n.º 2
0
    void Start()
    {
        sidequests = FindObjectOfType <Sidequests>();
        activator  = FindObjectOfType <Activator>();

        pauseEnabled         = false;
        Time.timeScale       = 1;
        AudioListener.volume = 1;
        Cursor.visible       = false;
        respectText.SetActive(false);
        BNText.SetActive(false);
        appleAward = PlayerPrefs.GetInt("AppleAward");
    }
Ejemplo n.º 3
0
    void Start()
    {
        sidequests     = FindObjectOfType <Sidequests>();
        textBoxManager = FindObjectOfType <DialogueManager>();
        pauseMenu      = FindObjectOfType <PauseMenu>();

        //if (PlayerPrefs.GetInt("Intro") == 0)
        //{
        //    textBoxManager.ReloadScript(Intro);
        //    textBoxManager.currentLine = 1;
        //    textBoxManager.endAtLine = 4;
        //    textBoxManager.EnableTextBox();
        //}
    }
Ejemplo n.º 4
0
 void Start()
 {
     theTextBox = FindObjectOfType <TextBoxManager>();
     sidequests = FindObjectOfType <Sidequests>();
 }
Ejemplo n.º 5
0
 void Start()
 {
     sidequests = FindObjectOfType <Sidequests>();
 }