If you create AssetBundles which have no assets assigned to them, then the “Remove Unused Names” option can be used. Using a forward slash in the name of the AssetBundle effectively creates folders, and the menu will have sub-menus, as the picture above shows. If you use upper-case characters in the name they will be converted to lower-case. This AssetBundle may contain other assets which have previously been added. In the picture the Asset asset has been added to an AssetBundle called environment/desert. Using this menu, you can create one or more Asset Bundles, give them names, and then use these new AssetBundle names as the destination for the asset. You can then continue to add other assets to this bundle by selecting those assets in your project view, then assigning them to the named bundle using this menu at the bottom of the inspector window.īy default the AssetBundle option for Assets is set to None, meaning the asset will not be written into an AssetBundle and will instead be packaged with the main project itself. If you haven’t yet defined the a bundle, click ‘New’, and enter a name for your bundle. Clicking this will reveal the names of any currently defined asset bundles, plus the option to define a new bundle: AssetBundle creation At the very bottom of the inspector window for that asset, there is an Asset Bundle menu. To begin creating an asset bundle, you must first select an asset from your project folder that you would like to include in a bundle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |