static int _s_set_m_FixedTouchTransform(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIPreviewModel __cl_gen_to_be_invoked = (UIPreviewModel)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.m_FixedTouchTransform = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_CanRotate(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIPreviewModel __cl_gen_to_be_invoked = (UIPreviewModel)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.CanRotate = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_m_FixedTouchTransform(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIPreviewModel __cl_gen_to_be_invoked = (UIPreviewModel)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.m_FixedTouchTransform); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_ModelParentLocalPos(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIPreviewModel __cl_gen_to_be_invoked = (UIPreviewModel)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector3(L, __cl_gen_to_be_invoked.ModelParentLocalPos); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_ModelParentLocalPos(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIPreviewModel __cl_gen_to_be_invoked = (UIPreviewModel)translator.FastGetCSObj(L, 1); UnityEngine.Vector3 __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.ModelParentLocalPos = __cl_gen_value; } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { UIPreviewModel __cl_gen_ret = new UIPreviewModel(); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to UIPreviewModel constructor!")); }
static int _m_Destroy(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UIPreviewModel __cl_gen_to_be_invoked = (UIPreviewModel)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.Destroy( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_SetGameObject(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UIPreviewModel __cl_gen_to_be_invoked = (UIPreviewModel)translator.FastGetCSObj(L, 1); try { { UnityEngine.GameObject go = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject)); __cl_gen_to_be_invoked.SetGameObject(go); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_SetEffectVisiable(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UIPreviewModel __cl_gen_to_be_invoked = (UIPreviewModel)translator.FastGetCSObj(L, 1); try { { bool is_visiable = LuaAPI.lua_toboolean(L, 2); __cl_gen_to_be_invoked.SetEffectVisiable(is_visiable); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }