Пример #1
0
        public void UnRegister()
        {
            mTypeEventSystem.UnRegister(mOnEvent);

            mTypeEventSystem = null;

            mOnEvent = null;
        }
Пример #2
0
 public void UnRegister()
 {
     TypeEventSystem.UnRegister <T>(OnEvent);
     TypeEventSystem = null;
     OnEvent         = null;
 }
Пример #3
0
 public TypeEventSystemUnRegister(ITypeEventSystem typeEventSystem, Action <T> onEvent)
 {
     mTypeEventSystem = typeEventSystem;
     mOnEvent         = onEvent;
 }