0
0
Unityframework~5 mins

Loading screens with coroutines in Unity - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
AThey replace the need for scenes.
BThey make the game run faster.
CThey automatically optimize graphics.
DThey allow loading without freezing the game.
Which method is used to load a scene asynchronously in Unity?
ASceneManager.LoadSceneAsync()
BScene.LoadAsyncScene()
CApplication.LoadLevel()
DSceneManager.LoadScene()
What keyword is used inside a coroutine to pause execution until the next frame?
Ayield return null
Bwait
Cpause
Dstop
How do you start a coroutine named LoadSceneCoroutine in Unity?
AStart(LoadSceneCoroutine);
BStartCoroutine(LoadSceneCoroutine());
CRunCoroutine(LoadSceneCoroutine());
DInvokeCoroutine(LoadSceneCoroutine);
What does the AsyncOperation.progress property represent during scene loading?
AThe time left to load the scene
BThe total number of scenes loaded
CThe percentage of the scene loaded (0 to 1)
DThe size of the scene in MB
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.