public void Register <TEvent>(Action <TEvent> onEvent) { var icanDispose = SingletonProperty <TConfig> .Instance.RegisterEvent <TEvent>(onEvent); mDisposableList.Add(icanDispose); }
public void Register <TEvent>(Action <TEvent> onEvent) { var icanDispose = mConfig.mEventSystem.RegisterEvent <TEvent>(onEvent); mDisposableList.Add(icanDispose); }