Version: Unity 6 Beta (6000.0)
Language : English
Position GameObjects
Scene view Camera

Scene view navigation

By default, you look through and control the Scene Camera when you navigate through 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. To look through and control a GameObjectThe 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
that has a cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
component attached to it, use the Cameras overlay.

You can use the following navigation controls to move the Scene Camera or a GameObject that has a camera component attached to it around the Scene viewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary
:

Scene Gizmo

The Scene GizmoA graphic overlay associated with a GameObject in a Scene, and displayed in the Scene View. Built-in scene tools such as the move tool are Gizmos, and you can create custom Gizmos using textures or scripting. Some Gizmos are only drawn when the GameObject is selected, while other Gizmos are drawn by the Editor regardless of which GameObjects are selected. More info
See in Glossary
appears in the Scene view. This displays the Scene Camera’s current orientation, and allows you to change the viewing angle and projection mode.

The Scene Gizmo has a conical arm on each side of the cube. The arms at the forefront are labelled X, Y, and Z. Click on any of the conical axis arms to snap the Scene Camera to the axis it represents (for example: top view, left view, and front view). You can also right-click the cube to see a menu with a list of viewing angles. To return to the default viewing angle, right-click the Scene Gizmo and select Free.

You can also toggle Perspective on and off. This changes the projection mode of the Scene view between Perspective and Orthographic (sometimes called “isometric”). To do this, click the cube in the center of the Scene Gizmo, or the text below it. The Orthographic view has no perspective, and is useful in combination with clicking one of the conical axis arms to get a front, top or side elevation.

A Scene shown in Perspective mode (left) and Orthographic mode (right)
A Scene shown in Perspective mode (left) and Orthographic mode (right)
The same Scene viewed in top and right view, in orthographic mode
The same Scene viewed in top and right view, in orthographic mode

If your Scene view is in an awkward viewpoint (upside-down or just an angle you find confusing), Shift-click the cube at the center of the Scene Gizmo to get back to a Perspective view with an angle that looks at the Scene from the side and slightly from above.

Click on the padlock on the top right of the Scene Gizmo to enable or disable rotation of the Scene. Once Scene rotation is disabled, right-click to pan the view instead of rotating it. This is the same as the View tool.

Note that in 2D Mode, the Scene Gizmo doesn’t appear. The only view option in 2d Mode is to look perpendicularly at the XY plane.

Mac trackpad gestures

On a Mac with a trackpad, you can drag with two fingers to zoom the view.

You can also use three fingers to simulate the effect of clicking the arms of the Scene Gizmo: drag up, left, right or down to snap the Scene Camera to the corresponding direction. You must enable three-finger swiping in the MacOS trackpad gesture settings to use this feature.

Move, orbit and zoom in the Scene view

Moving, orbiting, and zooming are key operations in Scene view navigation. Unity provides several ways to perform them for maximum accessibility:

Use the arrow keys

You can use the Arrow Keys to move around the Scene as though “walking” through it. The Up and Down arrow keys move the Camera forward and backward in the direction it faces. The Left and Right arrow keys pan the view sideways. Hold down the Shift and an arrow key to move faster.

Use the View tool

When the View tool is selected (shortcut: Q), the following mouse controls are available:

Control Description
Pan In View tool mode, the Move icon appears

Click and drag to pan the Camera around.
Orbit When you hold down the Alt button in View tool mode, the Orbit icon appears

Hold Alt (Windows) or Option (macOS), and left-click and drag to orbit the Camera around the current pivot point.

This option isn’t available in 2D mode, because the view is orthographic.
Note: If you can’t orbit the Camera, make sure that the padlock on the top right of the Scene Gizmo is disabled.
Zoom

Hold Alt (Windows) or Option (macOS), and right-click and drag to zoom the Scene view.

On macOS, you can also hold Control, and left-click and drag instead.

Hold down Shift to increase the rate of movement and zooming.

Use flythrough mode

Use the Flythrough modeA Scene view navigation mode that allows you to fly around the scene in first-person, similar to how you would navigate in many games. More info
See in Glossary
to fly around the Scene view in first-person, similar to how you would navigate in many games.

Flythrough mode is designed for Perspective Mode. In Orthographic Mode, if you click and hold the right mouse button and move your mouse, your view orbits the Camera instead.

Flythrough mode isn’t available in 2D mode. In 2D mode, if you click and hold the right mouse button and move your mouse, your view pans around the Scene view.

To enter Flythrough mode and navigate through the Scene view in Flythrough mode:

  1. Click and hold the right mouse button.
  2. Do the following to navigate through the Scene view:
    • Use your mouse to move the view.
    • To move forward or backward, press W or S.
    • To move left or right, press A or D.
    • To move up or down, press Q or E.
    • To move faster, press and hold Shift.

Change the move speed of the camera

The Scene Camera displays the Scene view in the Editor. By default, the Scene Camera is what you control and look through when you navigate through the Scene view. To learn how to control a GameObject that has a camera component attached, refer to Control a camera in first person.

To change the speed that a Camera moves at in the Scene view, select the Camera icon in the View Options overlay then adjust the value of the Camera Speed property to the speed you want.

Note: To find the View Options overlay, press ` to open the Overlays menu. In the Overlays menu, hover over View Options to highlight the View Options overlay in the Scene view.

In Flythrough mode, use the scroll wheel on your mouse or drag two fingers on a trackpad to change the speed that the Scene Camera moves at through the Scene.

Movement shortcuts

For extra efficiency, these controls can also be used regardless of which transform tool is selected. The most convenient controls depend on which mouse or track-pad you are using.

Action 3-button mouse 2-button mouse or track-pad Mac with only one mouse button or track-pad
Pan Hold the middle-mouse button then drag Hold Alt+Control+left-click, then drag Hold Option+Command+left-click, then drag
Orbit (Not available in 2D mode) Hold Alt+left-click, then drag Hold Alt+left-click, then drag Hold Option+left-click, then drag
Zoom Use the scroll wheel, or hold Alt+right-click, then drag Hold Alt+right-click, then drag Use the two-finger swipe method to scroll in and out, or hold Option+Control+left-click, then drag
Change speed (only available in Flythrough mode) Use the scroll wheel while moving. Drag with two fingers while moving Drag with two fingers while moving

Center the view on a GameObject

To center the Scene view on a GameObject, select the GameObject in the Hierarchy, then move the mouse over the Scene view and press F. If the GameObject is already selected, F zooms in to the pivot point. This feature can also be found in the menu bar under Edit > Frame Selected.

To lock the view to the GameObject even when the GameObject is moving, press Shift+F. This feature is also in the menu bar under Edit > Lock View to Selected.

Position GameObjects
Scene view Camera
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961