CodeBlanks Logo Icon CodeBlanks

Summary - Unity setup

You write a summary task solution that combines the group's steps.

Reviewing your Unity setup

Before starting a Unity project, install Unity Hub, install a suitable LTS version, and create a new 3D project. When the project opens, you should recognize the Scene, Game, Hierarchy, Inspector, and Console windows and know how to use the Play, Pause, and Step controls in the Toolbar.

Unity Hub
  → Install LTS
  → New 3D Project
  → Explore Editor
  → Test with Play
  → Save Scene

Finally, save your scene, back up the project folder, and track your changes with version control.

Practice Complete the Unity setup summary

Write a C# script that defines the basic information of a Unity project. Set the application name to Unity Hub, release type to LTS, project name to MyFirstGame, template to 3D Template, and scene name to MainScene. Print the five values on separate lines in the specified order.

Starter code

Player.cs
using UnityEngine;

public class UnitySetupReview : MonoBehaviour
{
    void Start()
    {
        // Unity uygulamasını tanımla
        
        // Sürüm türünü tanımla
        
        // Proje adını tanımla
        
        // Proje şablonunu tanımla
        
        // Sahne adını tanımla
        
        // Beş bilgiyi sırayla yazdır
    }
}

Sample solution

Player.cs
using UnityEngine;

public class UnitySetupReview : MonoBehaviour
{
    void Start()
    {
        string application = "Unity Hub";
        string version = "LTS";
        string project = "MyFirstGame";
        string template = "3D Template";
        string scene = "MainScene";

        Debug.Log(application);
        Debug.Log(version);
        Debug.Log(project);
        Debug.Log(template);
        Debug.Log(scene);
    }
}

Expected output

Unity Hub
LTS
MyFirstGame
3D Template
MainScene

Questions and answers

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

1 Which sequence best represents the correct order for preparing a new Unity 3D project?

  • Install Unity Hub → Install an LTS version → Create a 3D project → Explore the Editor → Save the scene Correct answer
  • Save the scene → Install Unity Hub → Install Editor → Create project
  • Create project → Remove Unity Hub → Install LTS → Open scene
  • Uninstall Unity Editor → Save project → Open Toolbar → Install Hub

Explanation: First, install Unity Hub, then install a Unity Editor version. Next, create a 3D project, explore the Editor, and save the scene.

2 Complete the project setup

Question
string editorVersion = "____";
Answer
string editorVersion = "LTS";

Explanation: You can choose an LTS release for a new project because it offers stability and long-term support.

3 Match the Unity setup steps

Term Meaning
Unity Hub Manages Editor versions
3D Template Creates a three-dimensional project
Play Runs the game
Version Control Tracks project changes

All lessons in Beginner