WorksheetsRPG (Lessons 9-16)
Total questions: 15
Worksheet time: 4hrs 45mins
When coding a function that will be scheduled for later execution by StartCoroutine(), assuming one of the function parameters is a "float", which of the following lines of code should appear within the function body?
Wait(.5f);
IEnumerator.delay();
return new delay();
yield return new WaitForSeconds(.5f);
Which of the following best describes an "Animation" in Unity?
An asset that is saved in a file with the ".anim" extension
flowchart that describes how images are played
type of GameObject found in the Hierarchy
type of component that links individual images to a GameObject
Legacy for Animation Clips is under _________.
Legacy
Normal
Debug
Window
Which tab do you use to select an individual animation frame?
Animator tab
Animation tab
Inspector tab
Game tab
Using the Unity Documentation. SetActive Activates/Deactivates the GameObject, depending on the given true or false value.
True
False
What function did we use to activate the input action "Fire1"?
Command
Target
Keystroke
GetButtonDown
How do you add an Animation to an existing Game Object?
Select "Create" from the Animation tab
Select an image and drag it onto the scene
Add a new Animator component to the target GameObject
Copy and paste an existing animation state box in the Animator tab
To create a fade-in animation, we set the alpha to 100 and lower it to zero.
True
False
Using Unity's API, determine if the following statement is true or false. StartCoroutine function always returns immediately, however you can yield the result.
True
False
Looking at Unity's API, SendMessage should have these parameters.
True
False
Using the given line of code, what part of the code references a script?
GlobalXP
CurrentXP
CalculatedXP
None of the answers are correct.
Using the given line of code, CurrentXP is referencing a ___________.
variable
function
script
None of the answers are correct.
Using the given line of code, CalculatedXP is referencing a ___________.
variable
function
script
None of the answers are correct.
The given code is attached to the Spider. Which object's transform is being referenced in transform.LookAt?
The Player
The First Person Character
The spider
Not enough information to determine the answer.
The given code is attached to the Spider. Which object is the "target"?
The Player
The First Person Character
The spider
Not enough information to determine the answer.
