This version of Unity is unsupported.

SpriteAtlasExtensions.SetIsVariant

Declaration

public static void SetIsVariant(U2D.SpriteAtlas spriteAtlas, bool value);

Description

Sets whether this Sprite Atlas is a variant or not.

A Variant will not repack a new texture from the packable list. Instead, it will duplicate the master's packed texture and downscale it according to SpriteAtlasExtensions.SetVariantMultiplier and save this scaled texture.

See Also: SpriteAtlasExtensions.SetMasterAtlas.