static int _m_doLocalMoveTo_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 5 && translator.Assignable <UnityEngine.GameObject>(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <UnityEngine.Vector3>(L, 3) && translator.Assignable <DG.Tweening.TweenCallback>(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); float dur = (float)LuaAPI.lua_tonumber(L, 2); UnityEngine.Vector3 end; translator.Get(L, 3, out end); DG.Tweening.TweenCallback call = translator.GetDelegate <DG.Tweening.TweenCallback>(L, 4); float delay = (float)LuaAPI.lua_tonumber(L, 5); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doLocalMoveTo(obj, dur, end, call, delay); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 4 && translator.Assignable <UnityEngine.GameObject>(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <UnityEngine.Vector3>(L, 3) && translator.Assignable <DG.Tweening.TweenCallback>(L, 4)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); float dur = (float)LuaAPI.lua_tonumber(L, 2); UnityEngine.Vector3 end; translator.Get(L, 3, out end); DG.Tweening.TweenCallback call = translator.GetDelegate <DG.Tweening.TweenCallback>(L, 4); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doLocalMoveTo(obj, dur, end, call); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 3 && translator.Assignable <UnityEngine.GameObject>(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <UnityEngine.Vector3>(L, 3)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); float dur = (float)LuaAPI.lua_tonumber(L, 2); UnityEngine.Vector3 end; translator.Get(L, 3, out end); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doLocalMoveTo(obj, dur, end); 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 LuaExtend.doLocalMoveTo!")); }
static int doLocalMoveTo(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 3) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject)); float arg1 = (float)LuaDLL.luaL_checknumber(L, 2); UnityEngine.Vector3 arg2 = ToLua.ToVector3(L, 3); DG.Tweening.Tweener o = LuaExtend.doLocalMoveTo(arg0, arg1, arg2); ToLua.PushObject(L, o); return(1); } else if (count == 4) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject)); float arg1 = (float)LuaDLL.luaL_checknumber(L, 2); UnityEngine.Vector3 arg2 = ToLua.ToVector3(L, 3); DG.Tweening.TweenCallback arg3 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate <DG.Tweening.TweenCallback>(L, 4); DG.Tweening.Tweener o = LuaExtend.doLocalMoveTo(arg0, arg1, arg2, arg3); ToLua.PushObject(L, o); return(1); } else if (count == 5) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject)); float arg1 = (float)LuaDLL.luaL_checknumber(L, 2); UnityEngine.Vector3 arg2 = ToLua.ToVector3(L, 3); DG.Tweening.TweenCallback arg3 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate <DG.Tweening.TweenCallback>(L, 4); float arg4 = (float)LuaDLL.luaL_checknumber(L, 5); DG.Tweening.Tweener o = LuaExtend.doLocalMoveTo(arg0, arg1, arg2, arg3, arg4); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: LuaExtend.doLocalMoveTo")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }