Esempio n. 1
0
 public static void Load()
 {
     if (instance == null)
     {
         instance = Baluga3Object.GetOrAdd <UpdateHelper>();
     }
 }
 public static void Load()
 {
     if (instance == null)
     {
         instance = Baluga3Object.GetOrAdd <SceneLoadDisposal>();
     }
 }
 public static void Load()
 {
     if (!loaded)
     {
         GameObject obj = new GameObject("Baluga3");
         DontDestroyOnLoad(obj);
         instance = obj.AddComponent <Baluga3Object>();
         loaded   = true;
     }
 }
Esempio n. 4
0
 public static ScreenWatcher Load()
 {
     return(Baluga3Object.GetOrAdd <ScreenWatcher>());
 }