Exemple #1
0
    private IEnumerator OnClickStart()
    {
        _assetBundleManager = new AssetBundleManager();
        yield return(_assetBundleManager.PrepareDownload("https://onsemy.github.io/AssetBundleFromGithubPage/Android/", "Android"));

        Debug.Log($"Downloading AssetBundle Size: {_assetBundleManager.assetBundleTotalSize}");
        yield return(_assetBundleManager.DownloadAllAssetBundle());

        yield return(_assetBundleManager.PreloadAllAssetBundle());
    }