Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

RPG (Lessons 9-16)

Total questions: 15

Worksheet time: 4hrs 45mins

Name
Class
Date
1.

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?

a)

Wait(.5f);

b)

IEnumerator.delay();

c)

return new delay();

d)

yield return new WaitForSeconds(.5f);

2.

Which of the following best describes an "Animation" in Unity?

a)

An asset that is saved in a file with the ".anim" extension

b)

flowchart that describes how images are played

c)

type of GameObject found in the Hierarchy

d)

type of component that links individual images to a GameObject

3.

Legacy for Animation Clips is under _________.

a)

Legacy

b)

Normal

c)

Debug

d)

Window

4.

Which tab do you use to select an individual animation frame?

a)

Animator tab

b)

Animation tab

c)

Inspector tab

d)

Game tab

5.

Using the Unity Documentation. SetActive Activates/Deactivates the GameObject, depending on the given true or false value.

a)

True

b)

False

6.

What function did we use to activate the input action "Fire1"?

a)

Command

b)

Target

c)

Keystroke

d)

GetButtonDown

7.

How do you add an Animation to an existing Game Object?

a)

Select "Create" from the Animation tab

b)

Select an image and drag it onto the scene

c)

Add a new Animator component to the target GameObject

d)

Copy and paste an existing animation state box in the Animator tab

8.

To create a fade-in animation, we set the alpha to 100 and lower it to zero.

a)

True

b)

False

9.

Using Unity's API, determine if the following statement is true or false. StartCoroutine function always returns immediately, however you can yield the result.

a)

True

b)

False

10.

Looking at Unity's API, SendMessage should have these parameters.

a)

True

b)

False

11.

Using the given line of code, what part of the code references a script?

a)

GlobalXP

b)

CurrentXP

c)

CalculatedXP

d)

None of the answers are correct.

12.

Using the given line of code, CurrentXP is referencing a ___________.

a)

variable

b)

function

c)

script

d)

None of the answers are correct.

13.

Using the given line of code, CalculatedXP is referencing a ___________.

a)

variable

b)

function

c)

script

d)

None of the answers are correct.

14.

The given code is attached to the Spider. Which object's transform is being referenced in transform.LookAt?

a)

The Player

b)

The First Person Character

c)

The spider

d)

Not enough information to determine the answer.

15.

The given code is attached to the Spider. Which object is the "target"?

a)

The Player

b)

The First Person Character

c)

The spider

d)

Not enough information to determine the answer.