예제 #1
0
 public static void OpenUI()
 {
     UnityEngine.Object obj = PrefabLoader.loadFromPack("LS/pbLSMailAndBattleRoot");
     if (obj != null)
     {
         GameObject go = RUIMonoBehaviour.Instantiate(obj) as GameObject;
         _instance = go.GetComponent <UIMailAndBattleMain>();
         RED.AddChild(go.gameObject, DBUIController.mDBUIInstance._bottomRoot);
     }
 }
예제 #2
0
 void Awake()
 {
     _instance = this;
 }