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

Unity Quiz #3

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Erin Nagoshi
Used 383+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
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”)
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Microsoft Word Ribbon (2019)

Quiz
•
7th - 12th Grade
16 questions
GameMaker

Quiz
•
10th - 11th Grade
10 questions
Unity Interface Review

Quiz
•
9th - 12th Grade
18 questions
CSP Units 1 & 2

Quiz
•
9th - 12th Grade
10 questions
Objects & Classes

Quiz
•
11th - 12th Grade
15 questions
Unity: Animations, Animators, & Tilemaps

Quiz
•
9th - 12th Grade
10 questions
Illustrator Quiz 2

Quiz
•
7th - 11th Grade
10 questions
Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade