How to get the value of auto refresh in Unity Preferences
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.