GetMasterAtlas(SpriteAtlas)
Gets the Master Sprite Atlas for the given Variant Sprite Atlas.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor.CoreModule
public static SpriteAtlas GetMasterAtlas(this SpriteAtlas spriteAtlas)
Parameters
The Sprite Atlas to be queried for Master Sprite Atlas status.
Returns
Type | Description |
|---|---|
| SpriteAtlas | Returns the Master Sprite Atlas if set. Otherwise, returns null. |