ドキュメント

Unity Engine

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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.