文档

Unity Engine

Unity Engine

includeInBuild

Property to get/set whether this Sprite Atlas is marked to be included in the build.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool includeInBuild { get; set; }

Remarks

Include this method to ensure that the Sprite refers to the Sprite 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.