WorksheetsGame Dev - Unit 1
Total questions: 10
Worksheet time: 5mins
Which Unity window contains a list of all the game objects currently in your scene?
Scene view
Project window
Hierarchy
Inspector
True or False: Visual Studio is not a part of Unity. You could use a different code editor to edit your C# scripts if you wanted to.
True
False
What best describes the difference between the below images, where the car is in the second image is further along the road?
The second car’s X location value is higher than the first car’s
The second car’s Y location value is higher than the first car’s
The second car’s Z location value is higher than the first car’s
The second car’s Transform value is higher than the first car’s.
In what order do you put the words when you are declaring a new variable?
[data type] [access modifier] [variable value] [variable name]
[access modifier] [data type] [variable name] [variable value]
[data type] [access modifier] [variable name] [variable value]
[variable name] [data type] [access modifier] [variable value]
speed
turnSpeed
speed & turnSpeed
horizontalInput & forwardInput
What is a possible value for the horizontalInput variable?
-10
0.52
“Right”
Vector3.Up
What is true about the following two lines of code?
They will both move an object the same distance
They will both move an object in the same direction
They will both move an object along the same axis
They will both rotate an object, but along different axes
Which of the following lines of code is using standard Unity naming conventions?`
a
b
c
d
Which comment would best describe the code below?
// Rotates around the Y axis based on left/right arrow keys
// Rotates around the Z axis based on up/down arrow keys
// Rotates in an upward direction based on left/right arrow keys
// Moves object up/down based on the the left/right arrow keys
The image below shows the preferences window that allows you to change which script editing tool (or IDE) you want to use. Where would you click to choose an alternative code editing tool?
The blue box (Image application)
The green box (Revision control Diff/Merge)
None of this
The red box (External Script Editor)
