# SetIsVariant(SpriteAtlas, bool)

> Sets whether this Sprite Atlas is a variant or not.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.U2D](/engine/6000.5/script-reference/unityeditor/u2d.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void SetIsVariant(this SpriteAtlas spriteAtlas, bool value)
```

### Parameters

**** (\[SpriteAtlas]\(/engine/6000.5/script-reference/unityengine/u2d/spriteatlas)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;

### Remarks

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 SetVariantMultiplier and save this scaled texture.

Additional Resources: [SpriteAtlasExtensions.SetMasterAtlas](/engine/6000.5/script-reference/unityeditor/u2d/spriteatlasextensions/setmasteratlas.md).
