The Scene view
游戏对象定位

Scene view navigation

The Scene view has a set of navigation controls to help you move around quickly and efficiently.

场景视图辅助图标

The Scene Gizmo is in the upper-right corner of the Scene view. This displays the Scene view Camera’s current orientation, and allows you to quickly modify 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 view Camera to the axis it represents (for example: top view, left view and front view). You can also right-click the cube to bring up a menu with a list of viewing angles. To return to the default viewing angle, right-click the Scene Gizmo and click 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 centre of the Scene Gizmo, or the text below it. 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.

在透视模式(左)和正交模式(右)下显示的场景
在透视模式(左)和正交模式(右)下显示的场景
在正交模式下以顶视图和前视图显示的同一场景
在正交模式下以顶视图和前视图显示的同一场景

(上述场景来自于 BITGEM

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

单击场景视图辅助图标右上角的挂锁可启用或禁用场景的旋转。禁用场景旋转后,右键单击鼠标可以平移视图而不是旋转视图。此时的功能与手形工具 (Hand tool) 相同(请参阅下面的手形工具)。

请注意,在 __2D 模式__中,不显示场景视图辅助图标,因为此情况下唯一的选择是让视图垂直于 XY 平面。

场景视图辅助图标:Mac 触控板手势

在带触控板的 Mac 上,可用两根手指拖动来缩放视图。

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 view Camera to the corresponding direction. In OS X 10.7 “Lion” you may have to change your trackpad settings in order to enable this feature:

  • 打开 System Preferences 并找到 Trackpad(或在 Spotlight 中输入 trackpad)。
  • 单击进入“More Gestures”选项。
  • 单击名称为“Swipe between pages”的第一个选项,然后将其设置为“Swipe left or right with three fingers”或“Swipe with two or three fingers”。

Moving, orbiting and zooming 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:

箭头移动

可使用__箭头键__在场景中移动,就好像在场景中“走动”一样。向上和向下箭头使摄像机朝所在方向前后移动。向左和向右箭头可横向平移视图。使用箭头时按住 Shift 键可以加快移动速度。

手形工具

选择手形工具(快捷键:__Q__)时,可使用以下鼠标控制方式:

__移动:__单击并拖动可拖动摄像机。

旋转:__按住 Alt__,然后左键单击并拖动可围绕当前轴心点旋转摄像机。此选项在 2D 模式下不可用,因为该模式下采用正交视图。

Zoom: Hold Alt, and right-click and drag to zoom the Scene view. On Mac you can also hold Control, and left-click and drag instead.

按住 Shift 可提高移动和缩放的速度。

飞越模式

Use Flythrough mode to navigate the Scene view by flying around in first-person, similar to how you would navigate in many games.

  • 单击并按住鼠标右键。
  • 使用鼠标移动视图,使用 WASD 键向左/向右/向前/向后移动,使用 QE 键向上和向下移动。
  • 按住 Shift 键可以加快移动速度。

飞越模式是专为__透视模式__设计的。在__正交模式__中,按住鼠标右键并移动鼠标会使摄像机旋转。

Note that Flythrough mode is not available in 2D mode. Instead, holding the right mouse button down while moving the mouse pans around the Scene view.

Camera speed

To change the current speed of the Camera in the Scene view, click the Camera icon in the toolbar. In Flythrough mode you can change the Camera speed while moving around the Scene. To do this, use the mouse scroll wheel or drag two fingers on a trackpad.

For more information, see the documentation on Camera settings.

移动快捷键

为了提高效率,无论选择哪种变换组件工具,都可以使用所有以下控制方式。 最方便的控制方式取决于所使用的鼠标或触控板:

操作 3 键鼠标 2 键鼠标或触控板 只有一个鼠标键或触控板的 Mac
移动 按住 Alt+鼠标中键,然后拖动 按住 Alt+Control+左键单击,然后拖动 按住 Alt+Command+左键单击,然后拖动
旋转__(在 2D 模式中不可用) |按住 Alt+左键单击,然后拖动 |按住 Alt+左键单击,然后拖动 |按住 Alt+左键单击,然后拖动 | |缩放__ 使用鼠标滚轮,或按住 Alt+右键单击,然后拖动 按住 Alt+右键单击,然后拖动 使用双指轻扫方法可放大或缩小,或按住 Alt-Control+左键单击,然后拖动
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.

将视图居中于游戏对象上

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. 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 can also be found in the menu bar under Edit > Lock View to Selected.


  • The Scene Gizmo is secretly known as the Tetraxial Perspectagon.

  • 2019–02–08 Page amended with limited editorial review

  • Scene view Camera settings added in 2019.1

The Scene view
游戏对象定位