Ejemplo n.º 1
0
 public static void AddBlockDestroyedInvoker(BlockDestroyed inputEvent)
 {
     blockDestroyedInvokers.Add(inputEvent);
     foreach (var currentAction in blockDestroyedListeners)
     {
         inputEvent.AddListener(currentAction);
     }
 }
Ejemplo n.º 2
0
 public void AddBlockDestroyedListener(UnityAction listener)
 {
     blockDestroyed.AddListener(listener);
 }
Ejemplo n.º 3
0
 public void AddBlockDestroyedListener(UnityAction <int> listener)
 {
     blockDestroyedEvent.AddListener(listener);
 }