예제 #1
0
 public static void AddListenerBoxesDestroyed(UnityAction script)
 {
     listenerBoxesDestroyed = script;
     if (invokerBoxesDestroyed != null)
     {
         invokerBoxesDestroyed.AddNoArgumentListener(listenerBoxesDestroyed);
     }
 }
예제 #2
0
 public static void AddInvokerBoxesDestroyed(Box script)
 {
     invokerBoxesDestroyed = script;
     if (listenerBoxesDestroyed != null)
     {
         invokerBoxesDestroyed.AddNoArgumentListener(listenerBoxesDestroyed);
     }
 }