Esempio n. 1
0
    //Zera a variavel de nova mensagem, chama a função loop de verificação do chat do Moodle
    void Start()
    {
        this.WebInModel = GameObject.FindObjectOfType(typeof(WebIntercomModel)) as WebIntercomModel;
        this.WebInControl = GameObject.FindObjectOfType(typeof(WebIntercomControl)) as WebIntercomControl;
        this.NetManager = GameObject.FindObjectOfType(typeof(NetworkManager)) as NetworkManager;
        WebInModel.AddMessages("Bem Vindo a UVV virtual " + PlayerPrefs.GetString("Name") + ": www.uvv.br");

        init();
    }
 //Construtor
 void Start()
 {
     chatID = 0;
     this.WebInModel = GameObject.FindObjectOfType(typeof(WebIntercomModel)) as WebIntercomModel;
     this.UUModel = GameObject.FindObjectOfType(typeof(UnityUserModel)) as UnityUserModel;
     //StartCourseListener(0);
     //StartCourseListener(1);
 }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     WebInModel = GameObject.FindObjectOfType(typeof(WebIntercomModel)) as WebIntercomModel;
     RefreshHostList();
 }