Пример #1
0
 public static void AddSpeedUpListener(UnityAction <int, float> speedupEventHandler)
 {
     speedUpEventListener = speedupEventHandler;
     if (speedUpEventInvoker != null)
     {
         speedUpEventInvoker.AddSpeedUpEventListener(speedUpEventListener);
     }
 }
Пример #2
0
 public static void AddSpeedUpInvoker(PickupBlock invoker)
 {
     speedUpEventInvoker = invoker;
     if (speedUpEventListener != null)
     {
         speedUpEventInvoker.AddSpeedUpEventListener(speedUpEventListener);
     }
 }