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; }
void Start () { instance = this; }