Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetIncludeInBuild(SpriteAtlas, bool)

Define if this sprite atlas's packed texture is included in the build with the Sprite after packing is done.
Read time 1 minuteLast updated 10 days ago

Definition

public static void SetIncludeInBuild(this SpriteAtlas spriteAtlas, bool value)

Parameters

spriteAtlas


value

Remarks

Include this to ensure that the sprite refers to the atlas's packed texture at runtime.
Conversely, the packed texture will not be in the build. It can be late bound to the sprite at runtime.