Unity Quick Tip - Focusing the Scene View on Multiple Game Objects

In this Unity quick tip tutorial we'll show you how to focus the Scene view on multiple game objects at the same time, allowing you to quickly see all the objects you are interested in.

1. Create a new 3D project in Unity Hub.

Creating project in Unity Hub

2. Add a Cube to the scene by clicking the plus button on the Hierarchy panel and selecting 3D Object->Cube.

Adding a cube

3. Ensure the position of the cube is set to (0, 0, 0) in the Inspector panel.

Positioning the cube

4. With the cube selected in the Hierarchy panel, move the mouse cursor over the Scene view and press the F key. The Scene view will now be focused on the cube.

Focusing on the cube

5. Now add a Sphere to the scene by clicking the plus button on the Hierarchy panel and selecting 3D Object->Sphere.

Adding a sphere

6. Set the position of the sphere to (0, 5, 0) in the Inspector panel.

Positioning the sphere

7. With the sphere selected in the Hierarchy panel, move the mouse cursor over the Scene view and press the F key. The Scene view will now be focused on the sphere.

Focusing on the sphere

8. You'll notice that by focusing on the sphere you can no longer see the cube. If you want to focus on both of them you need to hold down the Ctrl key and select both in the Hierarchy panel.

Selecting multiple game objects

9. With both objects selected, move the mouse cursor over the Scene view and press the F key. The Scene view will now zoom out so that both the cube and the sphere are in view.

Focusing on multiple game objects

That covers everything for this tip. We hope that you found it useful. Please leave any questions or feedback in the comments below, and don't forget to subscribe to get notified when we publish our next post.

Thanks.

Comments

Popular posts from this blog

Rotating a Character in the Direction of Movement - Unity Game Development Tutorial

Changing the Colour of a Material - Unity Game Development Tutorial

Creating Terrain from Heightmaps - Unity Game Development Tutorial