CodeBlanks Logo Icon CodeBlanks

The editor interface

Learn the Scene, Game, Hierarchy, Inspector and Console windows.

The Unity Editor interface

Unity Editor is the workspace used to view and edit game projects. It contains separate windows for different tasks, and these windows work together.

Scene | Game
Hierarchy | Inspector
Console

Learning the purpose of these windows is the first step toward working comfortably in the editor.

Scene, Game, and other windows

The Scene window is the workspace where you edit a scene, while the Game window shows how the game appears to the player. Hierarchy lists scene objects, Inspector displays the selected object's properties, and Console shows errors, warnings, and messages.

Scene: Editing area
Game: Game view
Hierarchy: Object list
Inspector: Object properties
Console: Messages and errors

When you select an object through Hierarchy, you can view its properties in Inspector.

Practice Describe the editor windows

Assign the names of five Unity Editor windows to variables: Scene, Game, Hierarchy, Inspector, and Console. Print each window name with a separate Debug.Log statement.

Starter code

Player.cs
using UnityEngine;

public class EditorWindows : MonoBehaviour
{
    void Start()
    {
        // Beş pencerenin adlarını tanımla
        
        // Pencere adlarını sırayla yazdır
    }
}

Sample solution

Player.cs
using UnityEngine;

public class EditorWindows : MonoBehaviour
{
    void Start()
    {
        string scene = "Scene";
        string game = "Game";
        string hierarchy = "Hierarchy";
        string inspector = "Inspector";
        string console = "Console";

        Debug.Log(scene);
        Debug.Log(game);
        Debug.Log(hierarchy);
        Debug.Log(inspector);
        Debug.Log(console);
    }
}

Expected output

Scene
Game
Hierarchy
Inspector
Console

Questions and answers

Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.

1 Which window lets you inspect the properties and components of an object in your scene?

  • Game
  • Console
  • Hierarchy
  • Inspector Correct answer

Explanation: Inspector displays the properties and components of the selected object. You can inspect its settings through this window.

2 List scene objects

Question
string windowName = "____";
Answer
string windowName = "Hierarchy";

Explanation: The Hierarchy window lists objects in the scene. You can select objects from this list.

3 Editor windows

Term Meaning
Scene Scene editing area
Game The game as seen by the player
Inspector Properties of the selected object
Console Errors, warnings, and messages

All lessons in Beginner