FairyGUI.EventListener.Remove C# (CSharp) Method

Remove() public method

public Remove ( EventCallback0 callback ) : void
callback EventCallback0
return void
        public void Remove(EventCallback0 callback)
        {
            if (_bridge == null)
                _bridge = this.owner.GetEventBridge(_type);

            _bridge.Remove(callback);
        }

Same methods

EventListener::Remove ( EventCallback1 callback ) : void

Usage Example

 static public int Remove(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(FairyGUI.EventCallback0)))
         {
             FairyGUI.EventListener  self = (FairyGUI.EventListener)checkSelf(l);
             FairyGUI.EventCallback0 a1;
             LuaDelegation.checkDelegate(l, 2, out a1);
             self.Remove(a1);
             pushValue(l, true);
             return(1);
         }
         else if (matchType(l, argc, 2, typeof(FairyGUI.EventCallback1)))
         {
             FairyGUI.EventListener  self = (FairyGUI.EventListener)checkSelf(l);
             FairyGUI.EventCallback1 a1;
             LuaDelegation.checkDelegate(l, 2, out a1);
             self.Remove(a1);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.EventListener::Remove