Unity 2D Game Development — Lesson 1
Explore the Unity 2D Interface | Beginner Level | High School
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
- Create, open, and save a new Unity 2D project.
- Identify the Scene view, Game view, Hierarchy, Inspector, and Project window.
- Explain the purpose of each window.
- Create, rename, position, resize, and recolor simple 2D GameObjects.
- Use Unity's Move, Rotate, and Scale tools.
- 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)
- Open Unity Hub.
- Select Projects.
- Click New Project.
- Choose the 2D (Built-In Render Pipeline) template, sometimes called 2D Core, depending on your Unity version.
- Name the project
PX_Interface_lastname. - Choose a local location, such as
C:\UnityProjects\Unity2D_Lesson01. - Click Create Project.
- When Unity opens, identify the main Editor windows.
Part 3 — Explore the Scene View and Hierarchy (15 minutes)
Activity A: Create a GameObject
- Locate the Hierarchy window.
- Right-click in an empty area of the Hierarchy.
- Choose 2D Object → Sprites → Square (menu wording may vary).
- Confirm that a white square appears in the Scene view.
- Select it in the Hierarchy.
- Press
F2or use the Rename context-menu command. - Rename the object
Player. - 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
- Select
Playerin the Hierarchy. - Locate the Transform component in the Inspector.
- Set Position to X =
0, Y =0, Z =0. - Set Scale to X =
2, Y =2, Z =1. - Locate the Sprite Renderer component.
- Click the Color property and choose blue.
Part 5 — Create Your First 2D Scene (20 minutes)
Student challenge: Create a simple scene containing a player, ground, obstacle, and goal.
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:
- Verify that all GameObjects are named correctly.
- Practice moving and rotating an object, then return it to the required settings.
- Find
Main Camerain the Hierarchy. - Switch between Scene and Game views.
- Check that the shapes are visible in the Game view.
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)
- Select File → Save As to save the scene.
- Use the scene name
MyFirst2DScene. - Save it inside
Assets/Scenes; create the Scenes folder if necessary. - Click the Game tab.
- Click the Play button.
- Observe the scene, then click Play again to exit Play mode.
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.
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.