static int _m_UnloadAsset(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); ABManager gen_to_be_invoked = (ABManager)translator.FastGetCSObj(L, 1); { AssetItem _item = (AssetItem)translator.GetObject(L, 2, typeof(AssetItem)); gen_to_be_invoked.UnloadAsset(_item); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }