Пример #1
0
    void Start()
    {
        SpawnText st = GameObject.Find("GUI_Text").GetComponent <SpawnText>();

        st.printText("Congratulations, you have passed all the tests !");
        st.printText("Thank you very much for you cooperation !");
        st.printText("You will now be brought back outside of this place, enjoy the rest of your life :)");
    }
Пример #2
0
    void Start()
    {
        SpawnText st = GameObject.Find("GUI_Text").GetComponent <SpawnText>();

        st.printText("Hi, subject #357.");
        st.printText("You are here because your cognitive capacities have been judged high enough to participate in this experiment.");
        st.printText("You have been provided a last generation augmented reality headpiece.");
        st.printText("It's the thing on your head, letting you read my sweet sweet messages. :)");
        st.printText("You may now start the tests. Don't worry, nothing is lethal. Good luck.");
        Invoke("OpenDoor", 35);
    }
Пример #3
0
 void Awake()
 {
     _st = GameObject.Find("GUI_Text").GetComponent <SpawnText>();
 }
Пример #4
0
 private void Awake()
 {
     t = this;
 }