Version: 2022.1
言語: 日本語
public static void SnapToGrid (Transform[] transforms, SnapAxis axis);

パラメーター

transforms The transforms to snap.
axis The axes on which to apply snapping.

説明

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