static int _m_LoadAssetAsync(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCETRuntime.AssetBundles gen_to_be_invoked = (DCETRuntime.AssetBundles)translator.FastGetCSObj(L, 1); { string _assetBundleName = LuaAPI.lua_tostring(L, 2); string _assetName = LuaAPI.lua_tostring(L, 3); System.Threading.Tasks.Task <UnityEngine.Object> gen_ret = gen_to_be_invoked.LoadAssetAsync( _assetBundleName, _assetName); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { DCETRuntime.AssetBundles gen_ret = new DCETRuntime.AssetBundles(); translator.Push(L, 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 DCETRuntime.AssetBundles constructor!")); }
static int _m_Dispose(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCETRuntime.AssetBundles gen_to_be_invoked = (DCETRuntime.AssetBundles)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Dispose( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }