Пример #1
0
 public static void AddReduceBallsLeftInvoker(ReduceBallsLeft inputEvent)
 {
     reduceBallsLeftInvokers.Add(inputEvent);
     foreach (var currentAction in reduceBallsLeftListeners)
     {
         inputEvent.AddListener(currentAction);
     }
 }
Пример #2
0
 public void AddReduceBallsEventListener(UnityAction reduceBallsEventHandler)
 {
     reduceBallsEvent.AddListener(reduceBallsEventHandler);
 }
Пример #3
0
 public void BallsLeftAddedListener(UnityAction listener)
 {
     _ballsLeft.AddListener(listener);
 }
Пример #4
0
 public void ReduceBallsLeftListener(UnityAction listener)
 {
     reduceBallsLeftEvent.AddListener(listener);
 }