# Change Settings programmatically

**URL:** https://qa.fmod.com/t/change-settings-programmatically/14952
**Category:** Unity
**Created:** [August 16, 2019, 12:26am UTC](https://qa.fmod.com/t/change-settings-programmatically/14952 "2019-08-16T00:26:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![roberto\_sc](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/roberto_sc/32/612_2.png) [@roberto\_sc](https://qa.fmod.com/u/roberto_sc)
#### Post date: [August 16, 2019, 12:26am UTC](https://qa.fmod.com/t/change-settings-programmatically/14952/1 "2019-08-16T00:26:17Z")

</div>

Is there a way to change settings programatically?

I want to change the logging level according to the log definitions in my project.  
I’m trying to do `Settings fmodSettings = Settings.Instance;`, but this ends up making the Editor, and I think it’s not correct since it changes the Settings file, which is a ScriptableObject.

Thanks.

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [August 21, 2019, 5:08am UTC](https://qa.fmod.com/t/change-settings-programmatically/14952/2 "2019-08-21T05:08:46Z")

</div>

That should be possible, you will have to make sure to change it before FMOD is initialized because that is where `Debug.Initialize` is called.
