Version: 2021.2

SpriteAtlasAsset.SetIncludeInBuild

切换到手册
public void SetIncludeInBuild (bool value);

描述

Defines if the SpriteAtlas's packed Textures that the Importer generates are included in the build with the Sprite after packing is done.

Include this to ensure that the Sprite refers to the Atlas's packed Textures at run time.If the method is not included, then the packed Texture is not included in the build. The Texture can be late bound to the Sprite at run time.