Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Deprecated. SetIncludeInBuild is no longer supported and will be removed. Use SpriteAtlasImporter.SetIncludeInBuild instead.
public void SetIncludeInBuild(bool value)

Parameters

value

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.