文档

Unity Engine

Unity Engine

variantScale

Value used to downscale the master's texture.
阅读时间1 分钟最后更新于 1 个月前

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.