Beispiel #1
0
 public static void AddCheckSpawnListener(UnityAction listener)
 {
     checkSpawnListener = listener;
     if (checkSpawnInvoker != null)
     {
         checkSpawnInvoker.AddSpawnEvent(checkSpawnListener);
     }
 }
Beispiel #2
0
 public static void AddCheckSpawnInvoker(CheckSpawn invoker)
 {
     checkSpawnInvoker = invoker;
     if (checkSpawnListener != null)
     {
         checkSpawnInvoker.AddSpawnEvent(checkSpawnListener);
     }
 }