SetMasterAtlas(SpriteAtlas)
Sets an Atlas to be the Master Atlas.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor.CoreModule
public void SetMasterAtlas(SpriteAtlas atlas)
Parameters
Remarks
This method sets a valid Master Atlas to this Atlas but does not automatically turn it into a Variant Sprite Atlas. Use SpriteAtlasExtensions.SetIsVariant to turn this Atlas into a Variant.