Search Header Logo

Unity Quiz #3

Authored by Erin Nagoshi

Computers

10th - 12th Grade

Used 386+ times

Unity Quiz #3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are ways to programmatically access an active GameObject?

GameObject.Find()

GameObject.FindObjectsWithTag()

the variable gameObject

GameObject.FindWithTag()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method would you use to programmatically access a GameObject with a unique name?

GameObject.Find()

GameObject.FindWithTag()

GameObject.FindObjectsWithTag()

gameObject

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method would you use to programmatically access the GameObject the script is attached to?

GameObject.Find()

GameObject.FindWithTag()

GameObject.FindObjectsWithTag()

The variable gameObject

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following will provide programmatic access to a single GameObject?

GameObject.Find()

GameObject.FindWithTag()

GameObject.FindObjectsWithTag()

None of these options.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will provide programmatic access to an array of GameObjects?

GameObject.Find()

GameObject.FindWithTag()

GameObject.FindObjectsWithTag()

None of these options.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If GameObject.Find() does not find the specified GameObject, what will happen?

It searches again until it finds it.

The program crashes.

It will print out an error.

It will return null (a programming representation for “nothing”)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If GameObject.FindObjectsWithTag() does not find any GameObjects with the specified tag, what happens?

The program crashes.

It will print an error message.

It will return an empty array.

It will return null (a programming representation for “nothing”)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?