Where is Prefence folder at?

Hello!

Im currently trying to find a way to programatically change the Edit->Prefences->Colors settings, but so far I havent been even able to find the file where those settings are being saved at. Where can I find that file?

Besides that, is there a easy way to access it via code? How so ?

Thanks!

The EditorPrefs manual page suggests two locations.

On Mac OSX, in a file:

~/Library/Preferences/com.unity3d.UnityEditor.plist

On Windows, in the registry:

HKCU\Software\UnityTechnologies\UnityEditor

That said, you’re probably better off using the EditorPrefs class to manage those settings.