Esempio n. 1
0
 static private void CreatInstance()
 {
     if (sInstance == null)
     {
         UnityEngine.GameObject tobj = new UnityEngine.GameObject("PublicUpdateManager");
         UnityEngine.GameObject.DontDestroyOnLoad(tobj);
         sInstance = tobj.AddComponent <PublicUpdateManager>();
         AppCore.AddPublicMono("PublicUpdateManager", sInstance);
         tobj.SetActive(false);
     }
 }