NEW
Font size
WorksheetsRPG (Lessons 17 - 24) Worksheet
Total questions: 15
Worksheet time: 4hrs 45mins
What do we use so the spider can determine the distance from the player?
float
Raycast
int
GameObject
Given the following script, what is the purpose of the MoveTowards parameter, transform.position? You may use the Unity Documentation to answer.
The position to move from.
The position to move towards.
Movement
Given the following script, what is the purpose of the MoveTowards parameter, ThePlayer.transform.position? You may use the Unity Documentation to answer.
The position to move from.
The position to move towards.
Movement
Given the following script, what is the purpose of the MoveTowards parameter, EnemySpeed? You may use the Unity Documentation to answer.
The position to move from.
The position to move towards.
Movement
When coding a function that will be scheduled for later execution by StartCoroutine(), assuming one of the function parameters is a "float delay", which of the following lines of code should appear first within the function body?
Wait(delay);
return new delay();
IEnumerator.delay();
yield return new WaitForSeconds(delay);
When writing a target function to be scheduled for delayed execution by StartCoroutine(), which of the following extra pieces of code need to be added?
Make the function return data type "IEnumerator"
Add the line "yield return new WaitForSeconds(delay);"
Both A and B
Neither A or B
The ____ operator returns true if the values are not equal.
<=
>=
!=
==
Which of the following is the unique C# name of the Transform object that is assigned to each sprite?
transform
xform
Transform
myTransform
transform.position is the position property of a GameObject’s Transform, which is accessible in the Unity Editor and through scripts.
True
False
The Raw Image displays a non-interactive image to the user. (You should visit the Unity Documentation)
True
False
The following function call will return random values in what range?
0, 1, 2, 3, 4, 5, 6
1, 2, 3, 4, 5, 6
1, 2, 3, 4, 5, 6, 7
1 or 7 only
The <= operator returns true if the value on the left is greater than or equal to the value on the right.
True
False
Navmesh is a way of defining a certain area within your game where our enemies can walk and navigate to a certain person or object.
True
False
The Animation Component can only store one animation.
True
False
The Animation Component can ________.
hold multiple animations
play the animation automatically
have the animation interact with Physics.
All the above
