static int set_uiScaleFactor(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ScrollZoomContainer obj = (ScrollZoomContainer)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name uiScaleFactor"); } else { LuaDLL.luaL_error(L, "attempt to index uiScaleFactor on a nil value"); } } obj.uiScaleFactor = (float)LuaScriptMgr.GetNumber(L, 3); return(0); }
static int get_ui(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ScrollZoomContainer obj = (ScrollZoomContainer)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name ui"); } else { LuaDLL.luaL_error(L, "attempt to index ui on a nil value"); } } LuaScriptMgr.Push(L, obj.ui); return(1); }
static int set_sceneChangeDivide(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ScrollZoomContainer obj = (ScrollZoomContainer)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name sceneChangeDivide"); } else { LuaDLL.luaL_error(L, "attempt to index sceneChangeDivide on a nil value"); } } obj.sceneChangeDivide = LuaScriptMgr.GetString(L, 3); return(0); }
static int set_switchEaseType(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ScrollZoomContainer obj = (ScrollZoomContainer)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name switchEaseType"); } else { LuaDLL.luaL_error(L, "attempt to index switchEaseType on a nil value"); } } obj.switchEaseType = (DG.Tweening.Ease)LuaScriptMgr.GetNetObject(L, 3, typeof(DG.Tweening.Ease)); return(0); }
static int set_touchTexture(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ScrollZoomContainer obj = (ScrollZoomContainer)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name touchTexture"); } else { LuaDLL.luaL_error(L, "attempt to index touchTexture on a nil value"); } } obj.touchTexture = (Texture2D)LuaScriptMgr.GetUnityObject(L, 3, typeof(Texture2D)); return(0); }
static int set_ui(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ScrollZoomContainer obj = (ScrollZoomContainer)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name ui"); } else { LuaDLL.luaL_error(L, "attempt to index ui on a nil value"); } } obj.ui = (RectTransform)LuaScriptMgr.GetUnityObject(L, 3, typeof(RectTransform)); return(0); }