public void Dispose()
 {
     TypeEventSystem.UnRegister(OnReceive);
 }
Exemple #2
0
 public void UnRegisterEvent <TEvent>(Action <TEvent> onEvent)
 {
     mTypeEventSystem.UnRegister <TEvent>(onEvent);
 }
Exemple #3
0
 public static void UnRegisterEvent <T>(this IOnEvent <T> self) where T : struct
 {
     TypeEventSystem.UnRegister <T>(self.OnEvent);
 }