Learning Your Way Around Unity
Before we can really get into coding things, you need to get to know the various window panes that you’ve just arranged. Refer back to Figure 16.13 as we discuss each pane:
- Scene pane: The Scene pane allows you to navigate around your scene in 3D and to select, move, rotate, and scale objects.
- Game pane: The Game pane is where you will preview your actual gameplay; it’s the window in which you played AngryBots before compiling the web build. This pane also shows you the view from the Main Camera in your scene.
- Hierarchy pane: The Hierarchy pane shows you every GameObject that is included in your current scene. For now, you can think of each scene as a level of your game. Everything that exists in your scene, from the camera to your player-character, is a GameObject.
- Project pane: The Project pane contains all of the assets that are included in your project. An asset is any kind of file that is part of your project, including images, 3D models, C# code, text files, sounds, fonts and so on. The Project pane is a reflection of the contents of the Assets folder within your Unity project folder on your computer hard drive. These assets are not necessarily in your current scene.
- Inspector pane: Any time you click on an asset in the Project pane or a GameObject in the Scene or Hierarchy panes, you will be able to see and edit information about it in the Inspector pane.
- Console pane: The Console pane will allow you to see messages from Unity about errors or bugs in your code as well as messages from yourself that will help you understand the inner workings of your own code.1 We will use the Console pane extensively in Chapter 18, “Hello World: Your First Program,” and Chapter 19, “Variables and Components.”