Remove() public method

public Remove ( EventCallback0 callback ) : void
callback EventCallback0
return void
Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="callback"></param>
        public void Remove(EventCallback1 callback)
        {
            if (_bridge == null)
            {
                _bridge = this.owner.GetEventBridge(_type);
            }

            _bridge.Remove(callback);
        }
Esempio n. 2
0
        /// <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);
            }
        }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="callback"></param>
 public void Remove(EventCallback1 callback)
 {
     _bridge.Remove(callback);
 }