public bool BubbleEvent(string strType, object data) { return BubbleEvent(strType, data, null); }
static int BubbleEvent(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FairyGUI.EventDispatcher obj = (FairyGUI.EventDispatcher)ToLua.CheckObject <FairyGUI.EventDispatcher>(L, 1); string arg0 = ToLua.CheckString(L, 2); object arg1 = ToLua.ToVarObject(L, 3); bool o = obj.BubbleEvent(arg0, arg1); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }