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