static int LoadAssetBundle(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); Framework.AssetBundleManager obj = (Framework.AssetBundleManager)ToLua.CheckObject <Framework.AssetBundleManager>(L, 1); string arg0 = ToLua.CheckString(L, 2); Framework.AssetBundleManager.LoadBundleCallback arg1 = (Framework.AssetBundleManager.LoadBundleCallback)ToLua.CheckDelegate <Framework.AssetBundleManager.LoadBundleCallback>(L, 3); obj.LoadAssetBundle(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public override bool MoveNext() { return(AssetBundleManager.GetLoadedAssetBundle(assetBundleName) == null); }
public SceneManager(AssetBundleManager assetBundleManager) { this.assetBundleManager = assetBundleManager; this.loadedScenes = new HashSet <Scene>(); }
public AssetBundleManifestOperation(string assetBundleName) : base(assetBundleName) { var bundleUrl = AssetBundleManager.GetAssetBundleURL(assetBundleName); www = new WWW(bundleUrl); }