How to get the value of auto refresh in Unity Preferences

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”

  1. MoveSnapX
  2. MoveSnapY
  3. MoveSnapZ
  4. ScaleSnap
  5. RotationSnap

Hope it helps.