Version: 2019.3
Preparing Sprite Atlases for distribution
Late Binding

Methods of distribution

After you prepare the Sprite Atlases for distribution, there are several methods to distribute the Atlases. Each method is more suitable for different Project needs or characteristics, such as the size of the Atlas Assets or the target platform of the Project.

The following are the two main methods to consider when you distribute SpriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary
Atlases:

  1. Place the Sprite Atlases into the build’s Resources folder.
  2. Distribute them as downloadable AssetBundles.

Method A: Resources folder

Unity can still include Sprite Atlases that are not large in size in the download final build. To distribute them together with the final build, place them in the Project’s Resource foldery includes Sprite Atlases in the Resource folder in the exported build when users download the application. Unity then loads these Atlases from the Resource folder via script). Refer to documentation on the Resources API for more information.

Method B: Downloadable AssetBundles

Sprite Atlases that are large in size can cause inconvenience for the application user if Unity includes them with the exported build’s download, because they require a lot of bandwidth and device storage. To avoid problems, distribute large Sprite Atlases in AssetBundles, so that the player can download each AssetBundle individually at their discretion. Unity then loads the Sprite Atlases during run time via script. Refer to the AssetBundle Workflow for more information.

Preparing Sprite Atlases for distribution
Late Binding
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961