# Save Data

In the project window, locate the scriptable\_save\_example and select it.

<img src="/files/orb7tZVpb04sKBS60oSx" alt="" width="375">

<div data-full-width="false"><img src="/files/gmA8Ahf0eNgcSXgKPFst" alt="" width="375"></div>

There is a lot to see, but actually this is a new empty save file. Let's quickly check in the code what data we are actually saving to disk. Open the script ScriptableSaveExample.cs.

```csharp
[Serializable]
public class SaveData
{
    public int Version = 1;
    public int Level = 0;
    public List<Item> Items = new List<Item>();
}

[Serializable]
public class Item
{
    public string Id;
    public string Name;

    public Item(string name)
    {
        Id = Guid.NewGuid().ToString();
        Name = name;
    }
}
```

At the top of the file, we can see that our save data has a version number, a level, and a list of Items (which are defined just below). Note that these classes are marked \[Serializable] in order to be able to convert them to JSON.

The SaveData class is the class you will customize for your game. Each game is different, so I've kept this example simple.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://obvious-game.gitbook.io/soap/scene-documentation/5_scriptablesaves/save-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
