This version of Unity is unsupported.

EditorSnapSettings.gridSnapActive

public static bool gridSnapActive;

Description

Gets whether grid snapping is active.