Recall & Review
beginner
What does it mean to instantiate an object at runtime in Unity?
It means creating a new copy of a game object while the game is running, not before. This lets the game add new things like enemies or items as needed.
Click to reveal answer
beginner
Which Unity method is commonly used to create objects during gameplay?
The method is
Instantiate(). It makes a copy of a prefab or existing object in the scene.Click to reveal answer
beginner
What is a prefab in Unity and why is it important for instantiating objects?
A prefab is a saved template of a game object. It lets you create many copies easily during the game without setting up each one manually.
Click to reveal answer
intermediate
How do you specify the position and rotation when instantiating an object?
You pass the position and rotation as arguments to
Instantiate(), usually using Vector3 for position and Quaternion for rotation.Click to reveal answer
intermediate
What is the difference between instantiating an object and enabling/disabling an existing object?
Instantiating creates a new object copy at runtime. Enabling/disabling just turns an existing object on or off without making new copies.
Click to reveal answer
Which method do you use to create a new game object from a prefab during gameplay in Unity?
✗ Incorrect
Instantiate() is the Unity method to create new objects at runtime.What type of Unity asset is best used as a template for instantiating multiple objects?
✗ Incorrect
Prefabs are saved templates of game objects used for instantiation.
When instantiating an object, which data type is used to set its position?
✗ Incorrect
Vector3 holds the x, y, z coordinates for position.
What happens if you instantiate an object without specifying rotation?
✗ Incorrect
If rotation is not specified, the prefab's default rotation is used.
Which of these is NOT a reason to instantiate objects at runtime?
✗ Incorrect
Instantiating creates new objects, which uses memory; reusing objects is done by enabling/disabling.
Explain how to instantiate a prefab at a specific position and rotation in Unity.
Think about the parameters you pass to Instantiate.
You got /4 concepts.
Describe the difference between instantiating a new object and enabling an existing object in Unity.
Focus on what happens behind the scenes with objects.
You got /4 concepts.