SetIsVariant(bool)
Sets whether this Sprite Atlas is a Variant or not.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor
public void SetIsVariant(bool value)
Parameters
Remarks
A Variant does not repack a new Texture from the packable list. Instead, it duplicates the Master Atlas's packed Texture and downscale it by the SetVariantMultiplier and saves this scaled Texture. Additional Resources: SpriteAtlasExtensions.SetMasterAtlas.