I download my assetbundle like this in webplayer platform.
And I unload assetbundle like this.
Is this way is right?
In addition, I wonder how to know assetbundle is downloaded already.
Is method exist to know that?
To use Unity's built in caching mechanism for asset bundles and such you can use:
Tracking the version can be done several ways:
And yes, the Unload call is correct if you aren't using the assets from the bundle right away. When you want to use its assets you will need to load it again either by making a WWW call to load the local file (using file://) or if you use LoadFromCacheOrDownload it will check if the file already exists in the local cache and load it from there instead of downloading it again.
answered Dec 02 '11 at 04:42 PM