- Home /
How to get the value of auto refresh in Unity Preferences
How to get the value of auto refresh in Unity Preferences
Answer by Komayo · Aug 11, 2017 at 05:20 AM
https://docs.unity3d.com/ScriptReference/EditorPrefs.html
You just need the right "Key" name to retrieve the value and use the corresponding type function to read/write it.
Example "Key" names for "Snap Settings"
MoveSnapX
MoveSnapY
MoveSnapZ
ScaleSnap
RotationSnap
Hope it helps.
Thank you, I found AutoRefresh key is “kAutoRefresh”.
On macOS, EditorPrefs are stored in ~/Library/Preferences/com.unity3d.UnityEditor.plist.
On Windows, EditorPrefs are stored in the registry under the H$$anonymous$$CU\Software\Unity Technologies\UnityEditor N.x key where N.x is the major version number.
Glad to help. Can you vote up my answer. Thank you. See you out there.
Your answer
Follow this Question
Related Questions
Unity 5 Broken Animations? 3 Answers
Update from Unity 4 to Unity 5.4.1 Scene Crashing 2 Answers
unity5 license 1 Answer
skybox as ambient source unity 4 1 Answer
UI is not visible on Android lollipop after upgrading from 4.6 to 5. 0 Answers