Version: 2022.2
Sprite Packer
Sprite Atlas V2

Sprite Packer 模式

To enable or disable the Sprite Atlas default packing behavior, open the Editor settings (menu: Edit > Project Settings > Editor) and navigate to Sprite Packer > Mode. Select the Sprite Packer Mode to determine how Unity uses the Sprite Atlas within the Editor.

Mode 功能
Disabled Select this mode to disable Sprite Atlas packing in the current Project. Sprite Atlases are not built when the Project enters Play mode or when publishing a build. Pack Preview is also disabled.
Sprite Atlas V1 - Enabled For Builds Select this mode to have Unity pack Sprites into the Sprite Atlas when publishing builds only. The Editor and Play mode reference the original source Texture instead of the Texture within the Sprite Atlas.
Sprite Atlas V1 - Always Enabled This option is enabled by default. Select this mode to have Unity pack selected Textures into the Sprite Atlas, and Sprites reference the packed Textures during runtime. However, Sprites will reference the original unpacked Textures during Edit mode.
Sprite Atlas V2 - Enabled Select this mode to have Unity pack Sprites into the Sprite Atlas immediately when there are any changes. The packed Sprite Atlas is available when the project enters Play mode or when publishing a build.
Sprite Atlas V2 - Enabled For Builds Select this mode to have Unity pack Sprites into the Sprite Atlas only when publishing a build. The Editor and Play mode will reference the original unpacked Textures.
Sprite Packer
Sprite Atlas V2
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961