> For the complete documentation index, see [llms.txt](https://saitama-studio.gitbook.io/candy-merge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://saitama-studio.gitbook.io/candy-merge/quickstart/game-settings.md).

# Game Settings

{% hint style="success" %}
The settings can be located under `Candy Merge/_Config/Settings/Resources/Game Settings`
{% endhint %}

The game settings is currently empty but can be expanded upon if you wish to use it. It will hold all settings data that will be **changed** during runtime, such as score or player's name.&#x20;

#### Adding a new property

1. To add a new property you can add the following:<br>

   ```csharp
   [SerializeField] public int MaxMoves = 30;
   ```
2. You will notice that you can't edit this in the inspector. The only way to edit it is inside a script by calling the following:<br>

   ```csharp
   GameSettings.Set(s => s.MaxMoves = 100);
   ```
3. To later get the value, you can type:<br>

   ```csharp
   GameSettings.Get<int>(s => s.MaxMoves);
   ```
