Ejemplo n.º 1
0
        public void Register <TEvent>(Action <TEvent> onEvent)
        {
            var icanDispose = SingletonProperty <TConfig> .Instance.RegisterEvent <TEvent>(onEvent);

            mDisposableList.Add(icanDispose);
        }
Ejemplo n.º 2
0
            public void Register <TEvent>(Action <TEvent> onEvent)
            {
                var icanDispose = mConfig.mEventSystem.RegisterEvent <TEvent>(onEvent);

                mDisposableList.Add(icanDispose);
            }