Unity Asset Bundle Demo

by cshcshan
+

Unity to Load AssetBundle Demo

( Updated 2 hours ago )

Unity to AssetBundle Demo

  • Create AssetBundle

  • Switch Unity project's platform.

  • Importing AssetBundleManager package.
  • Setting AssetBundle and AssetBundle Variant's name of asset.
  • Building AssetBundles by selecting 'Assets/AssetBundles/Build AssetBundles'.

  • Server

  • After building AssetBundles, copy '{Project}/AssetBundles' folder to server and rename it. There are many platform name's folders in the {Project}/AssetBundles, if you build many platform for AssetBundles.

  • Load AssetBundle

  • The AssetBundle's url is 'http://{ip or host name}/{AssetBundles or what folder name you named}/'. For example is 'http://172.16.129.32/UnityAnimationDemo/'.