Creating a Scene
Creating a new scene from the menu:
Use the menu (Assets > Create > Scene) to create a new scene without opening the New Scene dialog.
When you create a new scene from the menu, Unity automatically copies the project’s Basic template, and adds the new scene to whichever folder is currently open in the project window.
Creating a new scene from the project window:
Use the context menu in the Project window to create a new scene without opening the New Scene dialog.
Use the menu (Assets > Create > Scene) to create a new scene without opening the New Scene dialog.
When you create a new scene from the menu, Unity automatically copies the project’s Basic template, and adds the new scene to whichever folder is currently open in the project window.
Creating a new scene from the project window:
Use the context menu in the Project window to create a new scene without opening the New Scene dialog.
- Navigate to the folder where you want to create the new scene.
- Right click the folder in the left-hand pane, or right-click an empty area in the right hand pane, and select Create > Scene from the context menu.
The scene view is your interactive view into the world you are creating. You can use the Scene view to select and position scenery, characters, Cameras, lights, and all other types of GameObjects. Selecting, manipulating, and modifying GameObjects in the Scene view are some of the first skills you must learn to begin working in Unity.
|
When you create a new project and open it for the first time, Unity opens a sample scene that contains only a Camera and a Light.
Scene Gizmo
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.
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-clicking the mouse pans the view instead of rotating it. This is the same as the Hand tool.
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-clicking the mouse pans the view instead of rotating it. This is the same as the Hand tool.
Scene Navigation
On a computer 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 view Camera to the corresponding direction.
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.
You can use the Arrow Keys to move around the Scene as though “walking” through it. The up and down arrows move the Camera forward and backward in the direction it is facing. The left and right arrows pan the view sideways. Hold down the Shift key with an arrow to move faster.
Hand:
When the Hand tool is selected (shortcut: Q), the following mouse controls are available:
Click and drag to move the Camera around.
Click and drag to move the Camera around.
Orbit:
Hold Alt (Windows) or Option (macOS), and left-click and drag to orbit the Camera around the current pivot point.
This option is not available in 2D mode, because the view is orthographic.
This option is not available in 2D mode, because the view is orthographic.
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.
On macOS, you can also hold Control, and left-click and drag instead.
Hold down Shift to increase the rate of movement and zooming.
Centering the View on a Game Object:
Centering the view on a GameObjectTo 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 can also be found in the menu bar under Edit > Lock View to 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.