static int IntToEnum(IntPtr L) { int arg0 = (int)LuaDLL.lua_tonumber(L, 1); UnityEngine.UI.GridLayoutGroup.Axis o = (UnityEngine.UI.GridLayoutGroup.Axis)arg0; ToLua.Push(L, o); return(1); }
static int QPYX_set_startAxis_YXQP(IntPtr L_YXQP) { object QPYX_o_YXQP = null; try { QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1); UnityEngine.UI.GridLayoutGroup QPYX_obj_YXQP = (UnityEngine.UI.GridLayoutGroup)QPYX_o_YXQP; UnityEngine.UI.GridLayoutGroup.Axis QPYX_arg0_YXQP = (UnityEngine.UI.GridLayoutGroup.Axis)ToLua.CheckObject(L_YXQP, 2, typeof(UnityEngine.UI.GridLayoutGroup.Axis)); QPYX_obj_YXQP.startAxis = QPYX_arg0_YXQP; return(0); } catch (Exception QPYX_e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index startAxis on a nil value")); } }
static int QPYX_get_startAxis_YXQP(IntPtr L_YXQP) { object QPYX_o_YXQP = null; try { QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1); UnityEngine.UI.GridLayoutGroup QPYX_obj_YXQP = (UnityEngine.UI.GridLayoutGroup)QPYX_o_YXQP; UnityEngine.UI.GridLayoutGroup.Axis QPYX_ret_YXQP = QPYX_obj_YXQP.startAxis; ToLua.Push(L_YXQP, QPYX_ret_YXQP); return(1); } catch (Exception QPYX_e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index startAxis on a nil value")); } }
static int set_startAxis(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.UI.GridLayoutGroup obj = (UnityEngine.UI.GridLayoutGroup)o; UnityEngine.UI.GridLayoutGroup.Axis arg0 = (UnityEngine.UI.GridLayoutGroup.Axis)ToLua.CheckObject(L, 2, typeof(UnityEngine.UI.GridLayoutGroup.Axis)); obj.startAxis = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index startAxis on a nil value" : e.Message)); } }
static int get_startAxis(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.UI.GridLayoutGroup obj = (UnityEngine.UI.GridLayoutGroup)o; UnityEngine.UI.GridLayoutGroup.Axis ret = obj.startAxis; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index startAxis on a nil value" : e.Message)); } }
static StackObject *set_startAxis_3(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup.Axis value = (UnityEngine.UI.GridLayoutGroup.Axis) typeof(UnityEngine.UI.GridLayoutGroup.Axis).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.GridLayoutGroup instance_of_this_method; instance_of_this_method = (UnityEngine.UI.GridLayoutGroup) typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.startAxis = value; return(__ret); }
static void Push(IntPtr L, UnityEngine.UI.GridLayoutGroup.Axis arg) { ToLua.Push(L, arg); }