Introduction to Unity Environments

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

When installing Unity, after clicking 'Download', what is the subsequent suggested step?

  • Run the `UnityHubSetup.exe` file directly.
  • Subscribe to the Student's version to access appropriate resources. (correct)
  • Immediately begin installing Unity Editor without any further actions.
  • Create a new project in Unity Hub.

What is the primary purpose of Unity Hub?

  • To serve as a platform for sharing completed Unity games.
  • To provide access to the Unity Asset Store.
  • To directly create and edit game assets.
  • To manage Unity projects, installations, and licenses. (correct)

During the installation of the Unity Editor, why might you add additional tools or modules?

  • To unlock hidden features in the Unity Editor.
  • To ensure compatibility with specific target platforms or to include useful development tools. (correct)
  • To automatically optimize the Unity Editor's performance.
  • To reduce the overall installation size.

Which of the following statements best captures the relationship between assets and game objects in Unity?

<p>Assets can be created from game objects, and game objects can be created from assets. (C)</p> Signup and view all the answers

What is the best practice of organizing assets in Unity?

<p>Store every asset type (scenes, scripts, textures) in its own folder. (C)</p> Signup and view all the answers

You have created several folders to organize a lot of assets. How do you quickly select a certain type of asset?

<p>By using the Favorites buttons to select all assets of a certain type. (A)</p> Signup and view all the answers

In Unity, what is the primary function of the Hierarchy view?

<p>To show all the items currently in the active scene. (C)</p> Signup and view all the answers

What is the term for creating a relationship between two or more items and what does this achieve?

<p>Nesting, achieve parent/child relationships. (B)</p> Signup and view all the answers

What is the role of the Inspector view in Unity?

<p>To show the properties and components of a selected game object or asset. (B)</p> Signup and view all the answers

Which statement best describes the function of the Scene view in Unity?

<p>It provides a development environment for visually designing and editing the game world. (A)</p> Signup and view all the answers

What is the purpose of the 'Draw Mode' control in the Scene view?

<p>To control how the scene is rendered, such as Shaded or Wireframe. (A)</p> Signup and view all the answers

What happens when you enable '2D View' in Unity?

<p>The Scene view switches to a 2D perspective, and the scene gizmo disappears. (D)</p> Signup and view all the answers

Which statement accurately describes the function of the Game view?

<p>The Game view provides a full simulation of the current scene, allowing you to test your game. (A)</p> Signup and view all the answers

What is the function of the 'Step' button in the Game view?

<p>It advances the game simulation by one frame at a time. (B)</p> Signup and view all the answers

Which of the following is NOT a control found in the Game View?

<p>Animate (B)</p> Signup and view all the answers

What is the primary function of the Transform tools in Unity's toolbar?

<p>To modify the position, rotation, and scale of game objects. (A)</p> Signup and view all the answers

You want to view specific layers in the Scene view. Which tool in the toolbar will help with this?

<p>Layers drop-down (C)</p> Signup and view all the answers

What is the purpose of the Hand Tool when navigating the Unity Scene view?

<p>To pan the scene view. (C)</p> Signup and view all the answers

What does holding the Alt key while click-dragging in the Scene view achieve?

<p>Orbits the camera around the current pivot point. (A)</p> Signup and view all the answers

What is the primary function enabled by Flythrough mode in the Scene view?

<p>It provides a first-person perspective for navigating the scene. (C)</p> Signup and view all the answers

Which keys control vertical movement in Flythrough mode?

<p>QE keys (B)</p> Signup and view all the answers

What is Flythrough mode for?

<p>First-person perspective navigation (D)</p> Signup and view all the answers

Which series of steps is the correct sequence of saving a scene?

<p>File &gt; New &gt; Ctrl+S (A)</p> Signup and view all the answers

What task includes selecting 3D Object > Cube?

<p>Creating (C)</p> Signup and view all the answers

What view allows experimentation with properties?

<p>Inspector (B)</p> Signup and view all the answers

How do you navigate around the Scene view to help navigate, according to the provided content?

<p>By using the cube as a point. (C)</p> Signup and view all the answers

If Unity is already installed, installing will take the user to a screen with versions. What is the next step?

<p>Install the Editor version. (B)</p> Signup and view all the answers

Which of the following is correct if there is an object that has been dragged under another?

<p>Nesting (A)</p> Signup and view all the answers

Which of the following has the correct sequence for navigation?

<p>Flythrough mode. hand tool. snap controls (A)</p> Signup and view all the answers

Flashcards

What is Unity?

A cross-platform game engine that provides tools to create 2D and 3D games and interactive experiences.

What is Unity Hub?

A program included with Unity that manages Unity projects and installations.

What is the Unity Editor?

The main interface for creating and editing game scenes in Unity.

What is the Scene View?

The window in Unity that displays the current game scene from the editor's perspective.

Signup and view all the flashcards

What are Game Objects?

A basic element in Unity scenes, representing characters, props, or scenery.

Signup and view all the flashcards

What is a Transform?

A component attached to GameObjects that defines their position, rotation, and scale in the scene.

Signup and view all the flashcards

What is an Asset?

Any item that exists as a file in the Assets folder

Signup and view all the flashcards

What is the Project View?

A view in Unity that displays all the assets available in the project.

Signup and view all the flashcards

What is the Hierarchy View?

A view in Unity that displays the items in the current scene.

Signup and view all the flashcards

What is Nesting?

Establishing a relationship between two or more items

Signup and view all the flashcards

What is the Inspector View?

A view in Unity that displays detailed information and settings for a selected GameObject or asset.

Signup and view all the flashcards

What is the Game View?

A view in Unity that simulates how the final game will look.

Signup and view all the flashcards

What is the Toolbar?

A set of controls in the Unity interface for commonly used tools and functions.

Signup and view all the flashcards

What is Draw mode?

Controls how the scene is drawn

Signup and view all the flashcards

What is the 2D/3D view?

This control changes from a 3D view to a 2D view.

Signup and view all the flashcards

What is Scene gizmo?

Shows which direction you are currently facing

Signup and view all the flashcards

What is the hand tool?

Allows you to move the scene

Signup and view all the flashcards

What is Flythrough mode?

Enables movement via a traditional first person control scheme

Signup and view all the flashcards

Study Notes

  • This is session 1, an introduction to Unity Environments

Installing Unity

  • To install visit unity.com/download
  • Click Download, then subscribe to the Student's version
  • Install Unity Hub from the download folder using the UnityHubSetup.exe file
  • Run Unity Hub
  • Register for a Unity account
  • Fill in the required details
  • Log in to Unity Hub to install the Unity Editor
  • Select the Unity Editor version to install
  • Add any additional tools

Getting to Know the Unity Editor

  • The Project Dialog is the first interaction
  • Start a new project

Getting Started

  • To create a new project open the new project dialog
  • Choose a template
  • Name the project
  • Specify a save location

Project on Unity Editor

  • The Unity Editor is composed of a toolbar, hierarchy window, scene view, game view, project window and inspector

The Project View

  • The Project view contains everything created for the project, including files, scripts, textures, and models

Note: Assets and Objects

  • An asset is any item that exists as a file in the Assets folder
  • Textures, meshes, sound files and scripts are examples of assets
  • A game object is an object that is part of a scene or a level
  • Assets can be created from game objects, and game objects from assets
  • It is recommended to manage assets inside Unity, as external management may corrupt the project

Note: Project Organization

  • As projects grow larger, managing assets becomes difficult
  • Every asset type, such as scenes, scripts, and textures, should have its own folder
  • Every asset should be in a folder
  • If using nested folders, ensure the structure is logical
  • Folders should be specific rather than vague or generalized
  • Select assets of a certain type quickly with the Favorites button
  • The search bar lets looking for specific assets

The Hierarchy View

  • The Hierarchy view presents all items in the current scene, not the entire project
  • A new Unity project's Hierarchy view includes a default scene featuring Main Camera and Directional Light game objects
  • Items added to the scene appear in the Hierarchy view

TIP – Nesting of Game Objects

  • Nesting is the act of establishing a connection between two or more items
  • Dragging one item onto another nests it under the other
  • Nesting creates a parent/child relationship
  • The item on top is the parent, while those below become children

Inspector View

  • This Inspector view show properties of a selected item
  • Clicking on an asset or object in the Hierarchy view automatically displays information in the Inspector view
  • Each game object is a container for components like Transform, Camera, and Audio Listener
  • Components can be added using the "Add Component" button

The Scene View

  • The Scene view visualizes the game environment

The Scene View Controls

  • Draw mode controls scene drawing, with "Shaded" as the default to display textures in full color
  • 2D/3D view switches between 3D and 2D perspectives; the scene gizmo is hidden in 2D view
  • Note that in 2D view the scene gizmo is hidden
  • Scene lighting toggles ambient lighting; the default includes built-in ambient lighting
  • Audition mode enables or disables audio source functions
  • Game overlay dictates the visibility of elements such as skyboxes and fog

The Scene View (Cont....)

  • The Gizmo selector chooses gizmos for visual debugging and setup, and it controls the visibility of the placement grid
  • The Scene gizmo indicates the current facing direction and aligns the Scene view with an axis
  • The scene gizmo allows Scene view operations
  • The axes for the control has X,Y and Z indicators

The Game View

  • A "play" button provides a full simulation in the editor
  • Enables playing, pausing and stepping through the scene
  • Play begins the current scene
  • Pause halts the execution
  • Step makes the game run a single frame at a time for debugging
  • Look for the functions of Aspect drop-down, Maximise on Play, Mute Audio, Stats and Gizmos

The Toolbar

  • Transform tools manipulate game objects
  • Transform gizmo toggles control how gizmos appear in the Scene View
  • Game view controls manage the Game view
  • Account and Services buttons manage the Unity account and related services
  • The Layers drop-down menu allows selection of the object layers in the scene
  • By default all objects are visible
  • Use the mouse wheel to zoom in and out
  • The Hand Tool (hotkey: Q) is used to move about the Scene view
  • Click-drag: Drags the camera around the scene
  • Hold Alt and click-drag: Orbits the camera around the current pivot point
  • Hold Ctrl (Command on Mac) and right-click-drag zooms the camera

Flythrough Mode

  • Flythrough mode allows scene movement with a familiar first-person control scheme
  • Holding down the right mouse button activates Flythrough mode
  • Move the mouse: Causes the camera to pivot
  • Press the WASD keys: The WASD keys move you about the scene. Each key corresponds with a direction: forward, left, back, and right, respectively.
  • Press the QE keys: The QE keys move you up and down, respectively, within the scene.
  • Hold Shift while pressing the WASD or QE keys: Has the same effect as using the WASD or QE keys but much faster, consider Shift to be your “sprint” button.
  • Additional resources can be found at https://learn.unity.com/tutorial/explore-the-unity-editor-1#

Exercise

  • Create a new scene via File > New Scene or Ctrl+N (Command+N on Mac)
  • In the Project view, create a folder named "Scenes" by right-clicking Assets > Create > Folder
  • Save the scene in the "Scenes" folder via File > Save Scene or Ctrl+S (Command+S on Mac), and give it a descriptive name
  • Add a cube using GameObject > 3D Object > Cube, Create > 3D Object > Cube in Hierarchy, or right-click in Hierarchy view and select 3D Object > Cube
  • Select the added cube and experiment with properties in the Inspector view
  • Practice Scene view navigation using Flythrough mode, the Hand tool, and snap controls, using the cube as a reference point

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Unity and Diversity of Life in Biology
42 questions
Unity in Art Flashcards
15 questions
Unity Logistics Ethical Dilemma
10 questions

Unity Logistics Ethical Dilemma

AdventurousWildflowerMeadow avatar
AdventurousWildflowerMeadow
Use Quizgecko on...
Browser
Browser