What is the role of the IEnumerator return type in a Unity coroutine method?
-
A
It marks the method as running on a background thread
-
B
It enables the method to yield execution and resume later
-
C
It converts the method into an event listener
-
D
It prevents the method from being called more than once