Coroutine 协同程序

Inherits from YieldInstruction

MonoBehaviour.StartCoroutine returns a Coroutine. Instances of this class are only used to reference these coroutines and do not hold any exposed properties or functions.


A coroutine is a function that can suspend its execution (yield) until the given given YieldInstruction finishes.


Page last updated: 2010-12-21