# SaveData

> A serializable storage for the state of an Overlay.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Overlays](/engine/6000.3/script-reference/unityeditor/overlays.md)
* **Assembly:** UnityEditor
* **Implements:** [IEquatable\<SaveData>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public class SaveData : IEquatable<SaveData>
```

## Remarks

This holds the position, the dock area, the visibility, etc. of an [Overlay](/engine/6000.3/script-reference/unityeditor/overlays/overlay.md).

## Constructors

| Constructor                                                                                                                         | Description             |
| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
| [SaveData()](/engine/6000.3/script-reference/unityeditor/overlays/savedata/ctor.md#savedata\(\))                                    | Creates a new SaveData. |
| [SaveData(UnityEditor.Overlays.Overlay)](/engine/6000.3/script-reference/unityeditor/overlays/savedata/ctor.md#savedata\(overlay\)) | Creates a new SaveData. |
