SetVariantScale(SpriteAtlas, float)
Set the value used to downscale the master's texture.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor
public static void SetVariantScale(this SpriteAtlas spriteAtlas, float value)
Parameters
Remarks
While packing a variant SpriteAtlas the master atlas's packed texture will be duplicated and scaled according to this value. The resulting new texture will be the packed texture of this atlas.