// Use this for initialization void Start() { //scrollview = gameObject.AddComponent(typeof(dataflow)) as dataflow; //hud = gameObject.AddComponent(typeof(HUDSize)) as HUDSize; //StartCoroutine("webGlRequests"); Instance = this; StartCoroutine("RetrieveTutorID"); GameObject moodleLogin = GameObject.Find("LoginMoodle"); user = moodleLogin.GetComponent(typeof(UserData)) as UserData; //Debug.Log("inicial id_user: " + user.id); //testStuff(); }
// Use this for initialization void Start() { GameObject moodleLogin = GameObject.Find("moodleLogin"); login = moodleLogin.AddComponent(typeof(WebserviceLogin)) as WebserviceLogin; dbCons = moodleLogin.AddComponent(typeof(databaseConnections)) as databaseConnections; Instance = this; //startConnectionWithId(3, 5); //Debug.Log(dbCons.databaseConnection()); //conID(); //makeConnection(); connectT(); //chama a funcao callcoroutineperformance //callcoroutineperformance(); }
// private DateTime _last = DateTime.UtcNow; // Use this for initialization void Start() { _login = new WebserviceLogin(Manager, Tokens.text); }