Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Game development
/
MonoBehaviour lifecycle
A MonoBehaviour starts a coroutine, then code sets component.enabled = false while its Ga…
from MonoBehaviour lifecycle
Unity 6.6
intermediate
1 min
A MonoBehaviour starts a coroutine, then code sets component.enabled = false while its GameObject remains active. What happens by default?
The coroutine continues unless code stops it explicitly.
The coroutine pauses and resumes from the same yield after re-enable.
The coroutine always receives OperationCanceledException.
Unity converts the coroutine into a background thread.
Check
Ask AI about this kata
Report an error
previous kata
Without an explicit execution-order rule, what can component A safely assume about compon…
Quiz
next kata
Why should OnDestroy not be the only release path for a mandatory external resource?
Quiz
A new version is available
Reload