void Update()
    {
        GameObject log = GameObject.Find("moodleLogin");

        user = log.GetComponent("UserData") as UserInfo.UserData;
        if (dm.everyThingDone && !already && wm.tutorchosen > 0)
        {
            chooseScreen();
            already = !already;
        }
    }
    // Use this for initialization
    void Start()
    {
        GameObject log = GameObject.Find("moodleLogin");

        user = log.GetComponent("UserData") as UserInfo.UserData;
        dm   = log.GetComponent("DataManager") as DataManager;
        wm   = log.GetComponent("WebManager") as WebManager;

        b1.text = "João";
        b2.text = "Maria";

        bb1.onClick.AddListener(Change1);
        bb2.onClick.AddListener(Change2);
    }
    // Use this for initialization
    void Start()
    {
        //WebManager.Instance.Get_userId(3);
        //WebManager.Instance.Get_courseId(5);
        //WebManager.Instance.makeConnection();
        Panel.SetActive(false);
        Panel2.SetActive(false);
        GameObject log = GameObject.Find("moodleLogin");

        user     = log.GetComponent("UserData") as UserInfo.UserData;
        Instance = this;
        dm       = log.GetComponent("DataManager") as DataManager;
        wm       = log.GetComponent("WebManager") as WebManager;
        TutorScreen.Instance.InicialSet();
    }
    /// <summary>
    /// Gets the user.
    /// </summary>
    /// <returns>The user class.</returns>
    public UserInfo.UserData getUser()
    {
        while (getURunning)
        {
            ;
        }

        getURunning = true;
        if (user == null)
        {
            user = new UserInfo.UserData();
            Debug.Log("NEW USER");
        }
        getURunning = false;

        return(user);
    }
    /// <summary>
    /// Starts this instance.
    /// </summary>
    public void Start()
    {
        GameObject log = GameObject.Find("moodleLogin");

        user = log.GetComponent("UserData") as UserInfo.UserData;
        dm   = log.GetComponent("DataManager") as DataManager;
        wm   = log.GetComponent("WebManager") as WebManager;

        InicialSet();

        dollh.SetActive(false);
        dollh2.SetActive(false);
        ballon.SetActive(false);
        hideButtons();

        AllTheMenu();
        BackMenu();

        Instance = this;


        ///tentativa de scale do model
        ///
        ///float height = Camera.main.orthographicSize * 2;
        ///float width = height * Screen.width / Screen.height;
        ///Debug.Log("height "+ height);
        ///Debug.Log("width " + width);
        ///Debug.Log("scale1 " + dollh.transform.localScale);
        ///dollh.transform.localScale = Vector3.one * height / 145f;
        ///Debug.Log("scale2 " + dollh.transform.localScale);
        ///

        //var width = Camera.main.orthographicSize * 2.0 * Screen.width / Screen.height;

        Debug.Log("width: " + Screen.width);
        Debug.Log("height: " + Screen.height);

        //Debug.Log("width " + width);
        Debug.Log("Scale: " + InfoBox.gameObject.transform.localScale);
        Debug.Log("Position: " + InfoBox.gameObject.transform.position);

        ///InfoBox.gameObject.transform.localScale += new Vector3(teste/3000, teste/3000, teste/3000);
        //Debug.Log("Scale2 " + InfoBox.gameObject.transform.localScale);


        /*
         * 429/432
         *
         */



        if ((Screen.width > 1800) && (Screen.height > 850))
        {
            BallonText.gameObject.transform.position   += new Vector3(705, 400, 0);
            BallonText.gameObject.transform.localScale += new Vector3(0.012f, 0.012f, 0);

            InfoText.gameObject.transform.position   += new Vector3(660, 200, 0);
            InfoText.gameObject.transform.localScale += new Vector3(0.012f, 0.012f, 0);

            AllButtons.gameObject.transform.position   += new Vector3(750, 50, -1);
            AllButtons.gameObject.transform.localScale += new Vector3(1, 1, 1);
        }

        /*else if((Screen.width < 370) && (Screen.height < 370))
         * {
         *  Debug.Log("EGFSFD");
         *  BallonText.gameObject.transform.position += new Vector3(150, 400, 0);
         *  BallonText.gameObject.transform.localScale += new Vector3(0.008f, 0.008f, 0);
         *
         *  InfoText.gameObject.transform.position += new Vector3(0, -25, 0);
         *  InfoText.gameObject.transform.localScale += new Vector3(0.0000000000000000000000000001f, 0.0000000000000000000000001f, 0);
         *
         *  AllButtons.gameObject.transform.position += new Vector3(-25, 0, 0);
         *  AllButtons.gameObject.transform.localScale += new Vector3(-0.2f, -0.2f, 1);
         * }*/
    }