Пример #1
0
 /// <summary>
 /// Removes a listener from our list
 /// </summary>
 /// <param name="listener"></param>
 public void RemoveListener(GameObjectEventListener listener)
 {
     GameObjectEventListeners.Remove(listener);
 }
Пример #2
0
 /// <summary>
 /// Adds a new listener to our list
 /// </summary>
 /// <param name="listener"></param>
 public void AddListener(GameObjectEventListener listener)
 {
     GameObjectEventListeners.Add(listener);
 }