Unity Essentials: Programming Essentials Quiz

Quiz

Foundational

+60 XP

5m

Unity Technologies

Unity Essentials: Programming Essentials Quiz thumbnail

Complete a quiz to get credit for completing the Mission.

Question 1

Which of the following are true about scripting in Unity?

Select the three correct answers.

Select all correct answers

Question 2

What is the purpose of the Update() function, which appears by default in any new script you create in Unity?

Select the one correct answer.

Select only one

Question 3

There are two errors in the line of code below. What are the errors?

transform.Rotate(0, 0.25, 0) >

Select the two correct answers.

Select all correct answers

Question 4

Which statements are true about variables in C# programming?

Select the three correct answers.

Select all correct answers

Question 5

You have the code below in a Collectible script, but for some reason, when the Player GameObject collides with the collectible, the collectible doesn’t disappear. What could explain this?

    private void OnTriggerEnter(Collider other) {   
           if (other.CompareTag("Player")) {
                Destroy(gameObject);
           }
    }

Select the two correct answers.

Select all correct answers

Question 6

What does the Instantiate() method do in a Unity script?

Select the one correct answer.

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

4/6

Retake allowed after

0 Mins