Documentation

Unity Engine

Unity Engine

variantScale

Value used to downscale the master's texture.
Read time 1 minuteLast updated 2 months ago

Definition

public float variantScale { get; set; }

Remarks

While packing a variant SpriteAtlas, the master Atlas' packed Texture will be duplicated and scaled according to this value. The resulting new Texture will be the packed Texture of this Atlas.