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