static int Clear(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); cs.GuiLabel obj = (cs.GuiLabel)ToLua.CheckObject <cs.GuiLabel>(L, 1); obj.Clear(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ToLabel(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); cs.GuiControl obj = (cs.GuiControl)ToLua.CheckObject <cs.GuiControl>(L, 1); cs.GuiLabel o = obj.ToLabel(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetHyperlinkCallbackScript(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); cs.GuiLabel obj = (cs.GuiLabel)ToLua.CheckObject <cs.GuiLabel>(L, 1); LuaFunction arg0 = ToLua.CheckLuaFunction(L, 2); obj.SetHyperlinkCallbackScript(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetHyperlinkCallback(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); cs.GuiLabel obj = (cs.GuiLabel)ToLua.CheckObject <cs.GuiLabel>(L, 1); UnityEngine.Events.UnityAction <string> arg0 = (UnityEngine.Events.UnityAction <string>)ToLua.CheckDelegate <UnityEngine.Events.UnityAction <string> >(L, 2); obj.SetHyperlinkCallback(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetLabel(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); cs.GuiLabel obj = (cs.GuiLabel)ToLua.CheckObject <cs.GuiLabel>(L, 1); string arg0 = ToLua.CheckString(L, 2); obj.SetLabel(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Initialize(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); cs.GuiLabel obj = (cs.GuiLabel)ToLua.CheckObject <cs.GuiLabel>(L, 1); bool o = obj.Initialize(); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }