Unity Review and Assessment 2 — Questions and Answers
Question 1: Which Unity component is required for a GameObject to be visible in the scene?
- MeshRenderer (Correct answer)
- Rigidbody
- AudioSource
- BoxCollider
Correct answer: MeshRenderer
A MeshRenderer (or other renderer) is what draws the mesh on screen.
Question 2: What does the Time.deltaTime variable represent?
- Total game runtime
- Time since the last frame (Correct answer)
- Time until the next frame
- Frames per second
Correct answer: Time since the last frame
Time.deltaTime is the seconds elapsed since the previous frame, used for frame-independent movement.
Question 3: Which method is called once before the first frame update?
- Update()
- Awake()
- Start() (Correct answer)
- FixedUpdate()
Correct answer: Start()
Start() runs once on the frame before the first Update, after Awake.
Question 4: What is a Prefab in Unity?
- A compiled script
- A reusable GameObject template asset (Correct answer)
- A lighting setting
- A type of material
Correct answer: A reusable GameObject template asset
A Prefab is a saved, reusable GameObject template you can instantiate many times.
Question 5: Which window shows the hierarchy of GameObjects in the current scene?
- Inspector
- Project
- Hierarchy (Correct answer)
- Console
Correct answer: Hierarchy
The Hierarchy window lists all GameObjects in the active scene and their parent-child relationships.
Question 6: What does the Rigidbody component add to a GameObject?
- A visible mesh
- Physics simulation (Correct answer)
- A UI canvas
- Audio playback
Correct answer: Physics simulation
Rigidbody enables the physics engine to control the object's motion via forces and gravity.
Question 7: Which color space is recommended for physically based rendering in Unity?
- Gamma
- Linear (Correct answer)
- Indexed
- Grayscale
Correct answer: Linear
Linear color space gives correct lighting math for PBR materials.
Which Unity component is required for a GameObject to be visible in the scene?