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.

MonoBehaviour.StartCoroutine返回一个Coroutine。这个类的实例仅用于引用这些协同程序,并不持有任意暴露的变量或函数。

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

一个coroutine是一个函数,它能暂停执行(yield),直到给定的YieldInstruction完成。

Page last updated: 2010-12-21