public static void SnapToGrid (Transform[] transforms, SnapAxis axis);

파라미터

transformsThe transforms to snap.
axisThe axes on which to apply snapping.

설명

Rounds each Transform.position to the closest multiple of EditorSnap.move.