void Start()
    {
        DEF.Init();
        PanelBoard     = GameObject.Find("PanelBoard");
        PanelInputName = GameObject.Find("PanelInputName");
        if (ScoreControl.UserName.Length >= 5)
        {
            PostHightScore();
            getHightScore();
            loadRanking = true;
            NGUITools.SetActive(PanelInputName, false);
        }
        else
        {
            loadRanking = false;
            NGUITools.SetActive(PanelBoard, false);
        }
        DEF.ScaleAnchorGui();

        instance = this;
    }
Beispiel #2
0
	void Start () {
		instance = this;
		
		
	}