static int _g_get_isHorizontal(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.TweenScrollNormalizedPosition __cl_gen_to_be_invoked = (xc.ui.ugui.TweenScrollNormalizedPosition)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.isHorizontal); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_value(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.TweenScrollNormalizedPosition __cl_gen_to_be_invoked = (xc.ui.ugui.TweenScrollNormalizedPosition)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.value = (float)LuaAPI.lua_tonumber(L, 2); } 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) { xc.ui.ugui.TweenScrollNormalizedPosition __cl_gen_ret = new xc.ui.ugui.TweenScrollNormalizedPosition(); 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 xc.ui.ugui.TweenScrollNormalizedPosition constructor!")); }
static int _m_SetEndToCurrentValue(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.TweenScrollNormalizedPosition __cl_gen_to_be_invoked = (xc.ui.ugui.TweenScrollNormalizedPosition)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.SetEndToCurrentValue( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_Begin_xlua_st_(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { { UnityEngine.GameObject go = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); float duration = (float)LuaAPI.lua_tonumber(L, 2); float position = (float)LuaAPI.lua_tonumber(L, 3); bool isHorizontal = LuaAPI.lua_toboolean(L, 4); xc.ui.ugui.TweenScrollNormalizedPosition __cl_gen_ret = xc.ui.ugui.TweenScrollNormalizedPosition.Begin(go, duration, position, isHorizontal); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }