void Awake()
    {
        chatController   = FindObjectOfType <ChatController>();
        myMessageTextBox = GetComponentInChildren <Text>();

        envio = FindObjectOfType <testedeenvio>();
    }
    void Start()
    {
        envio = FindObjectOfType <testedeenvio>();

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

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