static int GetLabelTime(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.Transition obj = (FairyGUI.Transition)ToLua.CheckObject <FairyGUI.Transition>(L, 1); string arg0 = ToLua.CheckString(L, 2); float o = obj.GetLabelTime(arg0); LuaDLL.lua_pushnumber(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }