Version: 2018.2
public static void SetVariantScale (U2D.SpriteAtlas spriteAtlas, float value);

Parameters

valueRecommended value is [0.1 ~ 0.99].

Description

Set the value used to downscale the master's texture.

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.