The data type used to store a whole number like a score or number of lives
What is int?
What is Syntax Error?
The window that shows all the GameObjects in your current scene.
What is the Hierarchy?
True or False. Unity C# is case-sensitive.
What is true?
int daysSincePayDay = 10000
What is semicolon ; (located after the 10000)?
The data type used to store a number with decimals, like money?
What is float?
This symbol is needed at the end of ALMOST every coding "sentence".
What is semicolon ; ?
The level or area where the game happens.
What is the Scene?
The color of the line that appears underneath code that is type incorrectly.
What is red?
True or False. Something is wrong with this code.
Debug.Log("Hello World");
What is false?
This is used for testing if a level is completed or not.
What is bool?
These symbols are needed to open and close a method.
What are Curly Braces/Brackets {} ?
This is used as a template or blueprint for GameObjects.
What is a prefab?
Identify the error in this code:
Debug.log("Happy New Year! It's 2026!");
The 'l' in "log" should be capitalized?
Two things need to be added to this if statement:
if Input.GetKey(KeyCode.W)
{
transform.Translate(0, 5, 0);
}
What are opening and closing parenthesis around Input.GetKey(KeyCode.W)?
True or False. This code will produce an error:
float speed = 5;
What is false?
You press play on your game and notice this message in the Console: "NullReferenceException" .
What is Runtime Error?
The location where Unity allows you to change a GameObject's components and values.
What is the Inspector?
Identify what is wrong with this line:
void Start() {}
What is nothing?
The code compiles, but the player moves up WAY too fast. Fix this code:
transform.Translate(0, 5, 0);
What is multiplying the 5 by Time.deltaTime?
transform.Translate(0, 5 * Time.deltaTime, 0);
This set of symbols goes around any text to actually make it a string.
What is quotations?
The player intends to crouch when pressing shift, but instead jumps.
What is Logical Error?
Location where all files/assets are kept.
What is the Project Window?
Identify the NUMBER of Syntax errors in this code:
if (Input.GetKey(KeyCode.W)
{
transform.Translate(0, 5, 0)
}
What is 2?
Identify ALL the fixes needed to make this code work:
void Start(
{
int score = "10";
Debug.Log(Score)
}
What are 4 fixes (1. Start(), 2. int score = 10; , 3. Debug.Log(score) , 4. semicolon after (score); )?