static int _g_get_to(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.TweenAnchoredPosition __cl_gen_to_be_invoked = (xc.ui.ugui.TweenAnchoredPosition)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector2(L, __cl_gen_to_be_invoked.to); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_to(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.TweenAnchoredPosition __cl_gen_to_be_invoked = (xc.ui.ugui.TweenAnchoredPosition)translator.FastGetCSObj(L, 1); UnityEngine.Vector2 __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.to = __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) { xc.ui.ugui.TweenAnchoredPosition __cl_gen_ret = new xc.ui.ugui.TweenAnchoredPosition(); 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.TweenAnchoredPosition constructor!")); }
static int _m_SetStartToCurrentValue(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.TweenAnchoredPosition __cl_gen_to_be_invoked = (xc.ui.ugui.TweenAnchoredPosition)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.SetStartToCurrentValue( ); 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); UnityEngine.Vector2 pos; translator.Get(L, 3, out pos); xc.ui.ugui.TweenAnchoredPosition __cl_gen_ret = xc.ui.ugui.TweenAnchoredPosition.Begin(go, duration, pos); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }