SetIncludeInBuild(bool)
Defines if the SpriteAtlas 's packed Textures that the Importer generates are included in the build with the Sprite after packing is done.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor
public void SetIncludeInBuild(bool value)
Parameters
Remarks
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.