static int _m_GetAssetCache(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); ResMgr gen_to_be_invoked = (ResMgr)translator.FastGetCSObj(L, 1); { string _name = LuaAPI.lua_tostring(L, 2); string _type_name = LuaAPI.lua_tostring(L, 3); UnityEngine.Object gen_ret = gen_to_be_invoked.GetAssetCache(_name, _type_name); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }