//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class SlideHorizontalOrVerticalLayoutGroupWrap { public static void Register(LuaState L) { L.BeginClass(typeof(SlideHorizontalOrVerticalLayoutGroup), typeof(UnityEngine.UI.LayoutGroup)); L.RegFunction("CalculateLayoutInputHorizontal", CalculateLayoutInputHorizontal); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("spacing", get_spacing, set_spacing); L.RegVar("childForceExpandWidth", get_childForceExpandWidth, set_childForceExpandWidth); L.RegVar("childForceExpandHeight", get_childForceExpandHeight, set_childForceExpandHeight); L.RegVar("childControlWidth", get_childControlWidth, set_childControlWidth); L.RegVar("childControlHeight", get_childControlHeight, set_childControlHeight); L.RegVar("snapEnable", get_snapEnable, set_snapEnable); L.RegVar("inverseChildPosEnable", get_inverseChildPosEnable, set_inverseChildPosEnable); L.RegVar("invisibleVaild", get_invisibleVaild, set_invisibleVaild); L.RegVar("slideTargePosDic", get_slideTargePosDic, null); L.EndClass(); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int CalculateLayoutInputHorizontal(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)ToLua.CheckObject(L, 1); obj.CalculateLayoutInputHorizontal(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int op_Equality(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1); UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2); bool o = arg0 == arg1; LuaDLL.lua_pushboolean(L, o); return 1; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_spacing(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; float ret = obj.spacing; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index spacing on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_childForceExpandWidth(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool ret = obj.childForceExpandWidth; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index childForceExpandWidth on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_childForceExpandHeight(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool ret = obj.childForceExpandHeight; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index childForceExpandHeight on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_childControlWidth(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool ret = obj.childControlWidth; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index childControlWidth on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_childControlHeight(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool ret = obj.childControlHeight; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index childControlHeight on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_snapEnable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool ret = obj.snapEnable; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index snapEnable on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_inverseChildPosEnable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool ret = obj.inverseChildPosEnable; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index inverseChildPosEnable on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_invisibleVaild(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool ret = obj.invisibleVaild; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index invisibleVaild on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_slideTargePosDic(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; System.Collections.Generic.Dictionary ret = obj.slideTargePosDic; ToLua.PushSealed(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index slideTargePosDic on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_spacing(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.spacing = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index spacing on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_childForceExpandWidth(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.childForceExpandWidth = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index childForceExpandWidth on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_childForceExpandHeight(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.childForceExpandHeight = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index childForceExpandHeight on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_childControlWidth(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.childControlWidth = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index childControlWidth on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_childControlHeight(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.childControlHeight = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index childControlHeight on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_snapEnable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.snapEnable = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index snapEnable on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_inverseChildPosEnable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.inverseChildPosEnable = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index inverseChildPosEnable on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_invisibleVaild(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SlideHorizontalOrVerticalLayoutGroup obj = (SlideHorizontalOrVerticalLayoutGroup)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.invisibleVaild = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index invisibleVaild on a nil value"); } } }