/// <summary> /// /// </summary> /// <param name="callback"></param> public void Remove(EventCallback1 callback) { if (_bridge == null) { _bridge = this.owner.GetEventBridge(_type); } _bridge.Remove(callback); }
/// <summary> /// /// </summary> /// <param name="strType"></param> /// <param name="callback"></param> public void RemoveEventListener(string strType, EventCallback1 callback) { if (_dic == null) { return; } EventBridge bridge = null; if (_dic.TryGetValue(strType, out bridge)) { bridge.Remove(callback); } }
/// <summary> /// /// </summary> /// <param name="callback"></param> public void Remove(EventCallback1 callback) { _bridge.Remove(callback); }