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));
}
}