예제 #1
0
 public static void UnregisterListener(PhaseEventListener listener)
 {
     if (_phaseListeners.Contains(listener))
         _phaseListeners.Remove(listener);
 }
예제 #2
0
 public static void RegisterListener(PhaseEventListener listener)
 {
     if(!_phaseListeners.Contains(listener))
         _phaseListeners.Add(listener);
 }