コード例 #1
0
ファイル: EventManager.cs プロジェクト: PpPetchPP/GDM350_moba
 public static void AddCheckSpawnListener(UnityAction listener)
 {
     checkSpawnListener = listener;
     if (checkSpawnInvoker != null)
     {
         checkSpawnInvoker.AddSpawnEvent(checkSpawnListener);
     }
 }
コード例 #2
0
ファイル: EventManager.cs プロジェクト: PpPetchPP/GDM350_moba
 public static void AddCheckSpawnInvoker(CheckSpawn invoker)
 {
     checkSpawnInvoker = invoker;
     if (checkSpawnListener != null)
     {
         checkSpawnInvoker.AddSpawnEvent(checkSpawnListener);
     }
 }