Version: 2023.1
public static bool gridSnapEnabled ;

描述

获取或设置是否启用网格对齐。

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".