static int ShowTooltipsWin(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.CheckObject <FairyGUI.GRoot>(L, 1); FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.CheckObject <FairyGUI.GObject>(L, 2); obj.ShowTooltipsWin(arg0); return(0); } else if (count == 3) { FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.CheckObject <FairyGUI.GRoot>(L, 1); FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.CheckObject <FairyGUI.GObject>(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); obj.ShowTooltipsWin(arg0, arg1); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GRoot.ShowTooltipsWin")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int ShowTooltipsWin(IntPtr l) { try { FairyGUI.GRoot self = (FairyGUI.GRoot)checkSelf(l); FairyGUI.GObject a1; checkType(l, 2, out a1); self.ShowTooltipsWin(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int ShowTooltipsWin(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.CheckObject(L, 1, typeof(FairyGUI.GRoot)); FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.CheckObject(L, 2, typeof(FairyGUI.GObject)); obj.ShowTooltipsWin(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }