# Save(SpriteAtlasAsset, string)

> Saves SpriteAtlasAsset to disk. File extension of SpriteAtlasAsset is *.spriteatlasv2.

## Definition

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

```csharp
public static void Save(SpriteAtlasAsset asset, string assetPath)
```

### Parameters

**** (\[SpriteAtlasAsset]\(/engine/6000.3/script-reference/unityeditor/u2d/spriteatlasasset)): The SpriteAtlasAsset object to be saved.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path of the SpriteAtlasAsset file on disk.
