How to Navigate the Inspector and Console in Unity | Virtual Reality Tutorial

Unity is the number one platform for building Virtual Reality (VR) games. In this tutorial, we will navigate the Inspector, Project, and Console windows in the Unity editor. To learn how to build 30 mini virtual reality games in Unity, check out our Unity 3D course!

The window to the right of the Scene contains the Inspector, as evident in the following image. This window shows details of the item currently selected, such as a game object in the Scene or a file in our project.

Click on Main Camera. The Inspector will fill with attributes of Main Camera that you can change. At the top is the name of the game object. The Tag tab allows you to label the object. The Layer tab is not often changed for Main Camera because this tab can help you check for collisions in the scene.

Main Camera’s Inspector shows the following components: Transform, Camera, GUI Layer, Flare Layer, and Audio Listener. Components change how game objects behave.

The Transform component is the most basic component of a game object. Transform allows you to set the position, rotation, and scale of an object.

The Camera component shows details about the camera. Currently, the Clear Flags property is “Skybox”, so the Game Window contains a sky. If you change Clear Flags to “Solid Color”, the Game window will fill with the color of the “Background” property.

A lot of learning in Unity is experimentation; changing values and seeing the immediate effects in the Game window. Select Directional Light from the Hierarchy. The Inspector will change to contain components of the Directional Light object. In the Light component, you can change the light’s type, color, intensity, shadows, and more.

The bottom tab in Unity contains the Project window. This window contains the Assets folder, which contains all the files that make up your game. Any 3D models, scripts, materials, animations, sound clips, video files will be in Assets.

Beside the Project tab is the Console tab. Note that if Console is not enabled beside “Project” on your screen, go to Unity > Window > Console.

The console displays messages to you as the developer. There are three kinds of messages can appear.

  • Error messages – colored red; icon is an octagon. Error messages can appear when there is a mistake in your code or when a plug-in is not working.
  • Warning messages – colored red; icon is a triangle. Warnings can provide suggestions that improve your code.
  • Basic information messages – colored white or black; icon is a speech bubble. In your game’s code, you can set messages to print in the console. These messages can inform you of what is happening in the game so that you know whether or not the game is behaving properly.

The Inspector, Project, and Console are three useful windows in the Unity editor. The Unity engine comes with built-in models, materials, and more, which you can use to make your own 2D or 3D games. To learn more about Unity, check out our Unity 3D course, where we build 30 mini virtual reality games!

Mammoth Interactive Favicon

Why you NEED to take this course :

Get in Touch.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

EMAIL US

support@mammothinteractive.com