includeInBuild
Property to get/set whether this Sprite Atlas is marked to be included in the build.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor.CoreModule
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.