/// <summary> /// /// </summary> /// <param name="callback"></param> public void Set(EventCallback1 callback) { _bridge.Clear(); if (callback != null) { _bridge.Add(callback); } }
/// <summary> /// /// </summary> /// <param name="callback"></param> public void Set(EventCallback0 callback) { if (_bridge == null) { _bridge = this.owner.GetEventBridge(_type); } _bridge.Clear(); if (callback != null) { _bridge.Add(callback); } }
/// <summary> /// /// </summary> public void Clear() { if (_bridge == null) { _bridge = this.owner.GetEventBridge(_type); } _bridge.Clear(); }