unity里的什么函数能够成为携程。

一个函数以 IEnumerator 开头,并且里面只要有yield语句就行。函数 并不须要在通过该携程必须通过一次yield语句,例如:下面这种是正确的:this using UnityEngine; using System.Collections; public class twoIEnumerator : MonoBehaviour {     int i=3;     // Use thi
相关文章
相关标签/搜索