# SetIsVariant(bool)

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

## Definition

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

```csharp
public void SetIsVariant(bool value)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;

### Remarks

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 SetVariantMultiplier and saves this scaled Texture. Additional Resources: [SpriteAtlasExtensions.SetMasterAtlas](/engine/6000.7/script-reference/unityeditor/u2d/spriteatlasextensions/setmasteratlas.md).
