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

Parámetros

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

Descripción

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