static int _s_set_vertical(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UnityEngine.UI.Extensions.UIFlippable __cl_gen_to_be_invoked = (UnityEngine.UI.Extensions.UIFlippable)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.vertical = 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_horizontal(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UnityEngine.UI.Extensions.UIFlippable __cl_gen_to_be_invoked = (UnityEngine.UI.Extensions.UIFlippable)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.horizontal); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { UnityEngine.UI.Extensions.UIFlippable __cl_gen_ret = new UnityEngine.UI.Extensions.UIFlippable(); 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 UnityEngine.UI.Extensions.UIFlippable constructor!")); }
static int _m_ModifyMesh(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.UI.Extensions.UIFlippable __cl_gen_to_be_invoked = (UnityEngine.UI.Extensions.UIFlippable)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 2 && translator.Assignable <UnityEngine.UI.VertexHelper>(L, 2)) { UnityEngine.UI.VertexHelper verts = (UnityEngine.UI.VertexHelper)translator.GetObject(L, 2, typeof(UnityEngine.UI.VertexHelper)); __cl_gen_to_be_invoked.ModifyMesh(verts); return(0); } if (__gen_param_count == 2 && translator.Assignable <UnityEngine.Mesh>(L, 2)) { UnityEngine.Mesh mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh)); __cl_gen_to_be_invoked.ModifyMesh(mesh); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.UI.Extensions.UIFlippable.ModifyMesh!")); }