Version: 2022.3
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.