Version: 2022.2
public void SetIsVariant (bool value);

描述

Sets whether this Sprite Atlas is a Variant or not.

A Variant does not repack a new Texture from the packable list. Instead, it duplicates the Master Atlas's packed Texture and downscale it by the SpriteAtlasExtensions.SetVariantMultiplier and saves this scaled Texture. See Also: SpriteAtlasExtensions.SetMasterAtlas.


Did you find this page useful? Please give it a rating: