# How to make an audio settings menu that remembers a player's last input

**URL:** https://qa.fmod.com/t/how-to-make-an-audio-settings-menu-that-remembers-a-players-last-input/17684
**Category:** Unity
**Tags:** unity, csharp
**Created:** [September 16, 2021, 9:55pm UTC](https://qa.fmod.com/t/how-to-make-an-audio-settings-menu-that-remembers-a-players-last-input/17684 "2021-09-16T21:55:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ANevskiy](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@ANevskiy](https://qa.fmod.com/u/ANevskiy)
#### Post date: [September 16, 2021, 9:55pm UTC](https://qa.fmod.com/t/how-to-make-an-audio-settings-menu-that-remembers-a-players-last-input/17684/1 "2021-09-16T21:55:24Z")

</div>

Hello, great people here!  
I can do simple things via Fmod in Unity, but this functionality is a bit too advanced for me right now, so any help would be very appreciated!

So, what i want to do, is to make audio settings sliders in my game “remember” the last position that was applied by the player, every time the game is relaunched. Not to go back to the “default” position, if that makes sense.

If you know some tutorials on how to do this, please hit me up with a link.

Thank you very much in advance!

---

<div class="post-metadata">

### Author: ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)
#### Post date: [September 20, 2021, 5:28am UTC](https://qa.fmod.com/t/how-to-make-an-audio-settings-menu-that-remembers-a-players-last-input/17684/2 "2021-09-20T05:28:09Z")

</div>

This is more of a Unity question than an FMOD question. FMOD doesn’t have any functions to help in persisting settings between sessions but I can help point you in the right direction:

What you are looking for is a way to write the saved settings to an external file that the Unity game can read on launch. It’s common to use JSON, XML, or text files (usually saved as `config.ini`).

You can read up on different ways of handling this, including some helpful plugins, over on the Unity blogs.

> **[Persistent data: How to save your game states and settings | Unity Blog](https://blog.unity.com/technology/persistent-data-how-to-save-your-game-states-and-settings)**

> **[How do I read and write data from a text file?](https://support.unity.com/hc/en-us/articles/115000341143-How-do-I-read-and-write-data-from-a-text-file-)**
>
> Symptoms:
>  
> 
> I want to read and write data from a text file that can be in a specific directory or among my other Assets.
> 
>  
> Cause:
> \-
>  
> Resolution:
>  
> If you don’t want to read the file from a direc...

---

<div class="post-metadata">

### Author: ![ANevskiy](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@ANevskiy](https://qa.fmod.com/u/ANevskiy)
#### Post date: [September 20, 2021, 8:59am UTC](https://qa.fmod.com/t/how-to-make-an-audio-settings-menu-that-remembers-a-players-last-input/17684/3 "2021-09-20T08:59:36Z")

</div>

Hi, Richard!  
Thank you so much for your help!  
I will check the links you send me and think of some ways how to do that.
