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