public IUnRegister RegisterEvent <TEvent>(Action <TEvent> onEvent) { return(mTypeEventSystem.Register <TEvent>(onEvent)); }
public static IDisposable RegisterEvent <T>(this IOnEvent <T> self) where T : struct { return(TypeEventSystem.Register <T>(self.OnEvent)); }