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