EditorSnapSettings

class in UnityEditor

Switch to Manual

Description

Control the behavior of handle snapping in the editor.

Static Variables

gridSnapEnabledGets or sets whether grid snapping is enabled.
moveGets or sets the increment that translation handles snap to.
rotateGets or sets the increment that rotation handles snap to.
scaleGets or sets the increment that scale handles snap to.

Static Functions

ResetSnapSettingsResets EditorSnap settings to default values.