Class SpriteAtlasUtility
Inherited Members
Namespace: UnityEditor.U2D
Assembly: UnityEditor.dll
Syntax
public class SpriteAtlasUtility
Methods
PackAllAtlases(BuildTarget, Boolean)
Declaration
public static void PackAllAtlases(BuildTarget target, bool canCancel = true)
Parameters
| Type | Name | Description |
|---|---|---|
| BuildTarget | target | |
| Boolean | canCancel |
PackAtlases(SpriteAtlas[], BuildTarget, Boolean)
Declaration
public static void PackAtlases(SpriteAtlas[] atlases, BuildTarget target, bool canCancel = true)
Parameters
| Type | Name | Description |
|---|---|---|
| SpriteAtlas[] | atlases | |
| BuildTarget | target | |
| Boolean | canCancel |