public void unLoadAssetBundleManager()
    {
        AssetBundleManager.UnloadAssetBundle(assetBundleName);
        GameObject assetBundleManager = GameObject.Find("AssetBundleManager");

        AssetBundleManager.DestroyObject(assetBundleManager);
    }
Beispiel #2
0
    public void unLoadAssetBundleManager()
    {
        AssetBundleManager.UnloadAssetBundle(assetBundleName);
        AssetBundleManager.UnloadAssetBundle(assetBundleName + ".mf");
        //DebugOnScreen.Log("upload AB "+ assetBundleName + ".mf");
        GameObject assetBundleManager = GameObject.Find("AssetBundleManager");

        AssetBundleManager.DestroyObject(assetBundleManager);
    }