コード例 #1
0
    void Init()
    {
        if (eventUI == null)
        {
            eventUI = GetComponentInChildren <EventUI> ();
        }
        if (goUI == null)
        {
            goUI = GetComponentInChildren <GoUI> ();
        }
        if (buyUI == null)
        {
            buyUI = GetComponentInChildren <BuyUI> ();
        }

        iMainUIArray = GetComponentsInChildren <IMainUI> ();

//		Debug.Log ("ima:" + iMainUIArray.Length);
    }
コード例 #2
0
ファイル: GoUI.cs プロジェクト: zerochd/Project_RichMan
 void Awake()
 {
     _instance = this;
     Init();
 }