Beispiel #1
0
 public static void AddremainListener(UnityAction <int> handler)
 {
     remainListener = handler;
     if (remainInvoker != null)
     {
         remainInvoker.BallRemainingEventListener(remainListener);
     }
 }
Beispiel #2
0
 public static void AddRemainInvoker(BallSpawner script)
 {
     remainInvoker = script;
     if (remainListener != null)
     {
         remainInvoker.BallRemainingEventListener(remainListener);
     }
 }