public void UnRegister() { mTypeEventSystem.UnRegister(mOnEvent); mTypeEventSystem = null; mOnEvent = null; }
public void UnRegister() { TypeEventSystem.UnRegister <T>(OnEvent); TypeEventSystem = null; OnEvent = null; }
public TypeEventSystemUnRegister(ITypeEventSystem typeEventSystem, Action <T> onEvent) { mTypeEventSystem = typeEventSystem; mOnEvent = onEvent; }