SpriteAtlasImporter
SpriteAtlasImporter imports SpriteAtlasAsset and generates SpriteAtlas.
Read time 4 minutesLast updated 9 days ago
Definition
- Type: Class
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor.CoreModule
- Inherits from: AssetImporter
[HelpURL("SpriteAtlasV2")]public sealed class SpriteAtlasImporter : AssetImporter
Properties
Property | Description |
|---|---|
| includeInBuild | Property to get/set whether this Sprite Atlas is marked to be included in the build. |
| packingSettings | SpriteAtlasPackingSettings to use when packing this SpriteAtlas. |
| textureSettings | SpriteAtlasTextureSettings of the packed Texture generated by this SpriteAtlas. |
| variantScale | Value used to downscale the master's texture. |
Methods
Method | Description |
|---|---|
| GetPlatformSettings | Retrieves the platform settings of the build target you specify. |
| SetPlatformSettings | Sets platform specific settings. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |