static int set_sortingMode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DragonBones.UnityArmatureComponent obj = (DragonBones.UnityArmatureComponent)o; DragonBones.SortingMode arg0 = (DragonBones.SortingMode)ToLua.CheckObject(L, 2, typeof(DragonBones.SortingMode)); obj.sortingMode = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sortingMode on a nil value")); } }
static int get_sortingMode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DragonBones.UnityArmatureComponent obj = (DragonBones.UnityArmatureComponent)o; DragonBones.SortingMode ret = obj.sortingMode; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sortingMode on a nil value")); } }