This version of Unity is unsupported.

EditorTool.gridSnapEnabled

public bool gridSnapEnabled;

Description

Use this property to allow the current EditorTool to enable/disable grid snapping.