
Unity Component and Script Functions
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Amelia Wright
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of a component in Unity?
To add functionality to game objects
To manage game settings
To create animations
To render graphics
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class must a custom component script extend in Unity?
ScriptableObject
Component
MonoBehaviour
GameObject
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between Start and Awake functions?
Awake runs as soon as the component is initialized
Awake runs only if the script is enabled
Start runs multiple times per frame
Start runs before Awake
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Update function is best suited for physics-related changes?
Update
LateUpdate
FixedUpdate
Start
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How often does the FixedUpdate function run by default?
Once per second
Every frame
Every 20 milliseconds
Only when called
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a component is disabled in Unity?
The component's Awake function is called
The component's OnDisable function is called
The game crashes
The component is deleted
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you expose a private field to the Unity editor?
By making it public
By using the SerializeField attribute
By using the ExposeField attribute
By adding it to the inspector
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade