AssetBundle Framework ia a complete solution for network game to manage assets.
When AssetBundle Framework running,Check if the AssetBundles located in persistence path on device are the same to the AssetBundles located in your Asset Server,if they are different,then download the AssetBundles from Asset Server to replace the AssetBundle located in persistence path on device.After all AssetBundles has been updated,the game will load AssetBundles from local persistence path all the way.
The AssetBundle Framework helps manage the key steps in building, updating and using AssetBundles.
The key features provided by the AssetBundle Framework are:
•Three AssetBundle mode would be used in the unity editor:
(1)NoAssetBundleMode: load asset from directory called BuildAssetBundlesPath directly, without ever building an AssetBundle.
(2)AssetBundleDebugMode:you need not to build you own asset server,the directory which AssetBundles are saved will become your asset server's assets folder which simulate the real asset server.
(3)AssetBundleCompleteMode:The complete process pattern for the framework,you have to build your own asset server.
•Asset Dependency Management including AssetBundle Manifests that keep track of every AssetBundle and all of their dependencies.Assets Dependencies are handled automatically by the AssetBundle Framework .With AssetBundle Manifests it is possible to query all AssetBundles and their dependencies.
•Support the API of loading asset synchronously and the API of loading assets asynchronously.
•AssetBundle Encryption:
You can build two types of AssetBundles,the unencrypted AssetBundles or the encrypted AssetBundles.
The framework provide four encryption algorithm for you,you can select which you prefer's. Building the encrypted AssetBundles can protect your AssetBundle with the encrypt key,and the encrypted AssetBundles are only be decrypted when assets need be loaded into memory.
•The AssetBundles' num and the directory structure which stored AssetBundles in persistence path on device wil stay consistent with the Asset Server's.
•Povide the gameObject pool of Assets which is easy to use,and it will make your game more smoothly .
•Provide the complete source code, convenient debugging and adjustment in your project.