static int _m_doUpDownScaleAnim_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 3 && translator.Assignable <UnityEngine.GameObject>(L, 1) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && translator.Assignable <System.Action>(L, 3)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); string title = LuaAPI.lua_tostring(L, 2); System.Action onFinish = translator.GetDelegate <System.Action>(L, 3); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doUpDownScaleAnim(obj, title, onFinish); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 2 && translator.Assignable <UnityEngine.GameObject>(L, 1) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); string title = LuaAPI.lua_tostring(L, 2); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doUpDownScaleAnim(obj, title); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 1 && translator.Assignable <UnityEngine.GameObject>(L, 1)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doUpDownScaleAnim(obj); 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.doUpDownScaleAnim!")); }
static int doUpDownScaleAnim(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject)); DG.Tweening.Tweener o = LuaExtend.doUpDownScaleAnim(arg0); ToLua.PushObject(L, o); return(1); } else if (count == 2) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject)); string arg1 = ToLua.CheckString(L, 2); DG.Tweening.Tweener o = LuaExtend.doUpDownScaleAnim(arg0, arg1); ToLua.PushObject(L, o); return(1); } else if (count == 3) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject)); string arg1 = ToLua.CheckString(L, 2); System.Action arg2 = (System.Action)ToLua.CheckDelegate <System.Action>(L, 3); DG.Tweening.Tweener o = LuaExtend.doUpDownScaleAnim(arg0, arg1, arg2); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: LuaExtend.doUpDownScaleAnim")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }