WorksheetsEOC 3D/GD/Design
Total questions: 20
Worksheet time: 10mins
What function is called by the game loop to perform tasks needed to produce each frame on the screen?
Update()
Start()
Awake()
OnEnable()
You are using the XR Interaction Toolkit in your project. You want the user to point their controller at specified objects and select them at any distance.
Which type of Interactor applies?
Ray Interactor
Teleporter
Grabbable Interactor
Locomotion
In what order do you put the words when you are declaring a new variable?
[access modifier] [data type] [variable name] [variable value]
[data type] [access modifier] [variable value] [variable name]
[data type] [access modifier] [variable name] [variable value]
[variable name] [data type] [access modifier] [variable value]
Which Unity window contains a list of all the components attached to game objects?
Inspector
Hierarchy
Scene view
Project window
How would you make an array variable visible in the Unity Inspector panel from the script component?
Make the array variable public
Right-click on the array variable and select "Publish"
Write the array variable name in all capital letters
Select "Edit" and then "Array" from the Unity IDE menu
What characters are used to mark the start and end of a block of C# code such as a class or function?
{ and }
# and #
/* and */
Begin and End
What would you do to a game object to make it react to gravity and other physical forces?
Add a Rigidbody component
Add a Collider component
Add a complex C# script
Add a Physics Material
What happens to the X and Y values in world coordinates as an object moves up and to the left?
X gets smaller, Y gets bigger
X gets smaller, Y gets smaller
X gets bigger, Y gets smaller
X gets bigger, Y gets bigger
What values are stored in a Vector3?
x, y, and z coordinates as floats
x and y coordinates as integers
x, y, and z coordinates as integers
x and y coordinates as floats
What convenient Unity function can you use to periodically run logic that spawns new prefabs?
InvokeRepeating()
Update()
AutoSpawn()
Start()
When it comes to defining boundaries in VR there are generally two types.
What are they?
Roomscale and Stationary
Free-scale and Fixed-scale
Running and Walking
Standing and Idle
Which Unity window contains a list of all the game objects currently in your scene?
Hierarchy?
Scene view
Project window
Inspector
Determine from the choices below what is the pitch documents that summarize major game features
such as the concept, story outline, character, and art.
Game Design document
game-script document
technical design document
character-design document
If it says, “Hello there!” in the console, what was the code used to create that message?
Debug.Log("Hello there!");
Debug(“Hello there!”);
Debug.Console(“Hello there!”);
Debug.Log(Hello there!);
Which comment best describes the following code?
// If player collides with another object, destroy the object
// If player collides with another object, destroy player
// If enemy collides with another object, destroy the object
// If player collides with a trigger, destroy trigger
What three types of values do the Transform's Position, Rotation and Scale settings all have in common?
X, Y, Z
A, B, C
Width, Height, Depth
Speed, Velocity, Acceleration
You need to set an object to your hand's position. You already have the hand position stored as 'handPos'.
What line of code would finish your process?
object.transform.position = handPos;
object.position = handPos;
transform.vector3.position = handPos;
object.FindObjectWithTag("Player") = handPos;
What allows the user to turn the headset a designated number of degrees with the press of a button or flick of a thumbstick?
Snap Turns
6 Degrees of Freedom
Roation control
Enhanced Rotation
You are spawning items from an Array and while testing you get an IndexOutofRangeException.
What is causing this?
You are trying to get an object from outside the Arrays bounds
Your array is null
Your array is too big
Your array is not the correct type
You're waiting on your artist to provide assets for your VR experience. You've laid everything out using basic shapes so you can begin creating interactions.
What is this called?
Greyboxing
Design Document
pre-art layout
Prototyping
