Unity 2D Game Development — Lesson 1

Explore the Unity 2D Interface | Beginner Level | High School

Very Easy60–90 minutesNo coding required

Lesson Overview

In this introductory lesson, students will create their first Unity 2D project, explore the primary Unity Editor windows, and learn to manipulate basic objects. They will finish by creating a simple 2D scene containing several colored shapes.

Essential question: How do game developers use the Unity Editor to create, organize, and modify a video game?

Learning Objectives

  1. Create, open, and save a new Unity 2D project.
  2. Identify the Scene view, Game view, Hierarchy, Inspector, and Project window.
  3. Explain the purpose of each window.
  4. Create, rename, position, resize, and recolor simple 2D GameObjects.
  5. Use Unity's Move, Rotate, and Scale tools.
  6. Save a scene and demonstrate it in the Game view.

Part 1 — Understanding the Unity Interface (15 minutes)

The Unity Editor is the workspace where developers build games. Each of its main windows serves a different purpose.

Window Purpose
Scene view Visually create and edit game levels.
Game view See what the player sees through the game's camera.
Hierarchy View the GameObjects in the current scene.
Inspector View and edit the selected object's properties.
Project window Organize assets such as sprites, scripts, and scenes.
Toolbar Access Play controls and object manipulation tools.

Try it: Find each window in your Unity Editor. Unity lets you rearrange windows to customize the workspace.

Part 2 — Create Your First Unity 2D Project (10–15 minutes)

  1. Open Unity Hub.
  2. Select Projects.
  3. Click New Project.
  4. Choose the 2D (Built-In Render Pipeline) template, sometimes called 2D Core, depending on your Unity version.
  5. Name the project PX_Interface_lastname.
  6. Choose a local location, such as C:\UnityProjects\Unity2D_Lesson01.
  7. Click Create Project.
  8. When Unity opens, identify the main Editor windows.
Important: Work from the computer's local drive. Avoid OneDrive, Google Drive, and network drives when actively editing Unity projects.
Checkpoint 1: Show the teacher the newly created Unity project with the Scene, Hierarchy, Inspector, and Project windows visible.

Part 3 — Explore the Scene View and Hierarchy (15 minutes)

Activity A: Create a GameObject

  1. Locate the Hierarchy window.
  2. Right-click in an empty area of the Hierarchy.
  3. Choose 2D Object → Sprites → Square (menu wording may vary).
  4. Confirm that a white square appears in the Scene view.
  5. Select it in the Hierarchy.
  6. Press F2 or use the Rename context-menu command.
  7. Rename the object Player.
  8. Observe its properties in the Inspector.

Activity B: Move the Object

Shortcut Tool Function
Q View Navigate the Scene view
W Move Change position
E Rotate Rotate the object
R Scale Resize the object
T Rect Manipulate rectangular objects

Practice: Move the Player to the center of the Scene and use the Scale tool to make it larger.

Part 4 — Explore the Inspector (10 minutes)

Activity C: Change Object Properties

  1. Select Player in the Hierarchy.
  2. Locate the Transform component in the Inspector.
  3. Set Position to X = 0, Y = 0, Z = 0.
  4. Set Scale to X = 2, Y = 2, Z = 1.
  5. Locate the Sprite Renderer component.
  6. Click the Color property and choose blue.
Expected result: A blue square appears in the center of the Scene view.

Part 5 — Create Your First 2D Scene (20 minutes)

Student challenge: Create a simple scene containing a player, ground, obstacle, and goal.

Player Obstacle Goal Ground
Example static 2D scene using basic Unity sprites. No scripting is required.

Use 2D Object → Sprites → Square four times. Rename the objects and enter these settings in the Inspector:

Object Position (X, Y) Scale (X, Y) Color
Player (-3, 0) (1, 1) Blue
Ground (0, -3) (12, 1) Green
Obstacle (0, -1.5) (1, 2) Red
Goal (4, 0) (1, 1.5) Yellow

Set Z Position = 0 and Z Scale = 1 for all four objects. Then:

If an object is missing from Game view, check whether it is within the camera's viewing area.

Part 6 — Save and Test (5–10 minutes)

  1. Select File → Save As to save the scene.
  2. Use the scene name MyFirst2DScene.
  3. Save it inside Assets/Scenes; create the Scenes folder if necessary.
  4. Click the Game tab.
  5. Click the Play button.
  6. Observe the scene, then click Play again to exit Play mode.
Discussion: What is the difference between Scene view and Game view?

Expected answer: Scene view is used to build and edit the game; Game view displays the game camera's view.

Part 7 — Knowledge Check

Answer all five questions. Click Check Answers to see your score and explanations.

1. Which Unity window displays all GameObjects in the current scene?

The Hierarchy lists the GameObjects in the scene.

2. Which window is used to edit an object's position and color?

The Inspector contains Transform and Sprite Renderer settings.

3. What is the main purpose of the Game view?

The Game view shows the view through the game's camera.

4. Which keyboard shortcut activates the Move tool?

W is Move, E is Rotate, and R is Scale.

5. Where do you organize scene files, sprites, and scripts?

The Project window organizes project assets.

Part 8 — Assignment Submission

Submit your work through Google Classroom. Check each task as you complete it.

0 of 7 tasks complete

Grading Rubric

Category Points
Unity 2D project created successfully 15
Four GameObjects created and named correctly 20
Position, scale, and color settings 25
Scene saved and visible in Game view 15
Required screenshots submitted 15
Knowledge check completed 10
Total 100

Teacher Notes

This lesson is intended for high school students with no prior Unity experience. No C# scripting is necessary. Students who finish early can add a fifth object, experiment with the Rotate tool, or change the camera's background color.

Emphasize that the scene is not yet a playable game: objects will remain stationary until movement, physics, and/or scripts are introduced.

Next lesson: Unity 2D Lesson 2 — GameObjects, Sprites, and Components.

Official reference: Unity Learn.