Esempio n. 1
0
 public static DuoBaoPanelScript CreateQiangDuoPanel()
 {
     UnityEngine.Object obj = PrefabLoader.loadFromPack("GX/pbDuoBaoPanel");
     if (obj != null)
     {
         GameObject        go = Instantiate(obj) as GameObject;
         DuoBaoPanelScript cc = go.GetComponent <DuoBaoPanelScript>();
         return(cc);
     }
     return(null);
 }
Esempio n. 2
0
 void Awake()
 {
     _instance = this;
 }