- Installing Unity
- Getting to Know the Unity Editor
- Navigating the Unity Scene View
- Summary
- Q&A
- Workshop
- Exercise
Navigating the Unity Scene View
The Scene view gives you a lot of control over the construction of your game. The ability to place and modify items visually is very powerful. None of this is very useful though if you cannot move around inside the scene. This section covers a couple of different ways to change your position and navigate the Scene view.
The Hand Tool
The Hand tool (hotkey: Q) provides you a simple mechanic to move about the Scene view with the mouse (see Figure 1.14). This tool proves especially useful if you are using a mouse with only a single button (because other methods require a two-button mouse). Table 1.1 briefly explains each of the Hand tool controls.
FIGURE 1.14 The Hand tool.
TABLE 1.1 The Hand Tool Controls
Action |
Effect |
Click-drag |
Drags the camera around the scene |
Hold Alt and click-drag |
Orbits the camera around the current pivot point |
Hold Ctrl (Command on Mac) and rightclick-drag |
Zooms the camera |
You can find all the Unity hotkeys here:
Flythrough Mode
Flythrough mode enables you to move about the scene using a tradition first-person control scheme. This mode will feel right at home for anyone who plays first-person 3D games (such as the first-person shooter genre). If you don’t play those games, this mode might take a little getting used to. Once you become familiar with it, though, it will be second nature.
Holding down the right mouse button will put you into Flythrough mode. All the actions laid out for you in Table 1.2 require that the right mouse button be held down.
TABLE 1.2 Flythrough Mode Controls
Action |
Effect |
Move the mouse |
Causes the camera to pivot, which gives the feeling of “looking around” within the scene. |
Press the WASD keys |
The WASD keys move you about the scene. Each key corresponds with a direction: forward, left, back, and right, respectively. |
Press the QE keys |
The QE keys move you up and down, respectively, within the scene. |
Hold Shift while pressing WASD or QE keys |
Has the same effect as before, but it is much faster. Consider Shift to be your “sprint” button. |