Quiz 3

Quiz

Beginner

+60 XP

15m

Unity Technologies

Quiz 3 thumbnail

This quiz will assess your knowledge of the skills and concepts learned in Unit 3.

Languages available:

Question 1

You are trying to STOP spawning enemies when the player has died and have created the two scripts below to do that. However, there is an error on the underlined code, “isAlive” in the EnemySpawner script. What is causing that error?

Select only one

Question 2

Match the following animation methods with its set of parameters

Select only one

Question 3

Given the animation controller / state machine below, which code will make the character transition from the “Idle” state to the “Walk” state?

Select only one

Question 4

Which of these is the correct way to get a reference to an AudioSource component on a GameObject?

Select only one

Question 5

When you run a project with the code below, you get the following error: “NullReferenceException: Object reference not set to an instance of an object.” What is most likely the problem?

Select only one

Question 6

Which of the following conditions properly tests that the game is NOT over and the player IS on the ground

Select only one

Question 7

By default, what will be the first state used by this Animation Controller?

Select only one

Question 8

Which of the following variable declarations observes Unity’s standard naming conventions (especially as it relates to capitalization)?

Select only one

Question 9

Which of the following is most likely the condition for the transition between “Run” and “Walk” shown below?

Select only one

Question 10

Which of the following do you think makes the most sense for a simple movement state machine?

Image A.

Image B.

Image C.

Select only one

Submit answers

To calculate your score, submit your answers to the quiz. A passing score will mark this quiz complete.

Correct answers needed to pass

1/10

Retake allowed after

0 Mins