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

Parámetros

valueRecommended value is [0.1 ~ 0.99].

Descripción

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.