Recall & Review
beginner
What is a coroutine in Unity?
A coroutine is a special function that can pause execution and resume later, allowing you to run tasks over multiple frames without freezing the game.
Click to reveal answer
beginner
Why use coroutines for loading screens?
Coroutines let you load scenes or assets step-by-step while showing progress, so the game doesn't freeze and players see a smooth loading screen.Click to reveal answer
intermediate
What Unity method is commonly used inside a coroutine to load scenes asynchronously?
SceneManager.LoadSceneAsync() is used to load scenes without blocking the main thread, allowing progress updates during loading.
Click to reveal answer
beginner
How do you start a coroutine in Unity?
Use StartCoroutine(yourCoroutineMethod()) to begin running the coroutine.
Click to reveal answer
intermediate
What does 'yield return null' do inside a coroutine?
It pauses the coroutine and resumes it on the next frame, letting other game processes run smoothly.
Click to reveal answer
What is the main benefit of using coroutines for loading screens in Unity?
✗ Incorrect
Coroutines let you load content step-by-step, preventing the game from freezing during loading.
Which method is used to load a scene asynchronously in Unity?
✗ Incorrect
SceneManager.LoadSceneAsync() loads scenes without blocking the main thread.
What keyword is used inside a coroutine to pause execution until the next frame?
✗ Incorrect
'yield return null' pauses the coroutine and resumes it on the next frame.
How do you start a coroutine named LoadSceneCoroutine in Unity?
✗ Incorrect
StartCoroutine is the correct method to start coroutines.
What does the AsyncOperation.progress property represent during scene loading?
✗ Incorrect
AsyncOperation.progress gives a value from 0 to 1 showing how much of the scene is loaded.
Explain how to create a loading screen using coroutines in Unity.
Think about how to load the scene step-by-step and show progress.
You got /4 concepts.
Describe why coroutines help keep the game responsive during loading screens.
Consider what happens if loading blocks the game.
You got /4 concepts.