public static bool gridSnapEnabled ;

Description

Gets or sets whether grid snapping is enabled.

When enabled, grid snapping will snap the translate handle to the nearest point on the SceneView grid when the Tool Handle Rotation is set to "Global". See GridSettings to get or set the size of the grid.