Customize the grid in the SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary view window. You can do the following to customize the grid:
Most grid settings are available in the Grid and Snap overlay. To highlight the Grid and Snap overlay in the Scene view, press ` to open the overlay menu then hover over Grid and Snap.
To toggle whether the grid is visible in the Scene view, select Toggle grid visibility in the Grid and Snap overlay.
If you are in orthographic mode (Iso) and align your view with an axis, the Editor chooses to display the grid axis orthogonal to that axis.
To change which axis the grid appears on:
You can set the size of the grid lines that display in the Scene view window. The size of the grid can affect how your grid looks and how your GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary automatically snap to the grid and how your GameObjects move if you use absolute grid snapping.
If you set a size for all axes at once, you display a uniform, square-based, grid. However, you can also use different values on any of the three axes to display a non-uniform, rectangular-based, grid. By default, the grid is set to a uniform size of 1 on all axes.
To set a size for all axes of the grid at once, enter a value in the Grid size field in the Grid and Snap overlay.
To set a size for each axis separately:
Tip: You can also press Ctrl + ] (macOS: Command + ]) to increase the size of the grid and Ctrl + [ (macOS: Command + [) to decrease the size of the grid. To learn more, refer to Grid and Snap shortcuts.
To change the color of the visible grid lines in the Scene view window:
To adjust the brightness of the grid lines:
You can transform the grid by applying a selected GameObject’s handle position and rotation to the grid or by entering specific position and rotation values.
Absolute grid snapping works well for levels composed of rectangular areas aligned to grid lines. However, if your level elements are rotated (such as angled bridges or pathways), absolute grid snapping is less useful and new customized grids are crucial.
To add custom position and rotation to the grid:
To apply a selected GameObject’s handle position and rotation to the grid:
You can also right-click in the Scene view and select Grid > Move to Handle Position.
Note: To reset the grid to the world origin, in the Grid and Snap Settings window, select Reset to World. You can also right-click in the Scene view and select Grid > Reset to World.
To reset all grid settings to their defaults: