예제 #1
0
 public static void StartUp()
 {
     if (sm_GameController == null)
     {
         DontDestroyHandler.CreateComponent <GameController>();
     }
 }
예제 #2
0
 static void OnStartup()
 {
     sm_Updater = DontDestroyHandler.CreateComponent <UpdateBehaviour>(NAME);
 }