예제 #1
0
    void Awake()
    {
        chatController   = FindObjectOfType <ChatController>();
        myMessageTextBox = GetComponentInChildren <Text>();

        envio = FindObjectOfType <testedeenvio>();
    }
예제 #2
0
    void Start()
    {
        envio = FindObjectOfType <testedeenvio>();

        globalAudioSource = FindObjectOfType <AudioSource>();
        answerOptions     = new GameObject[10];
        messageList       = new List <Message>();
        canSendMessage    = true;

        if (maxMessages <= 0)
        {
            maxMessages = 30;
        }
    }
예제 #3
0
 void Awake()
 {
     envio = FindObjectOfType <testedeenvio>();
 }