作业帮 > 综合 > 作业

可以帮我翻译一下这段英文吗(关于协程的描述)

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/16 16:13:13
可以帮我翻译一下这段英文吗(关于协程的描述)
参考位置是:http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.StartCoroutine.html
当中的技术关键字是:coroutine(协程) yield(脚本中定义协程的关键字)
The executation of a coroutine can be paused at any point using the yield statement. The yield return value specifies when the coroutine is resumed. Coroutines are excellent when modelling behaviour over several frames. Coroutines have virtually no performance overhead. StartCoroutine function always returns immediately, however you can yield the result. This will wait until the couroutine has finished execution.
不好意思,我也会用GOOGLE网上翻译平台.
该可执行程序(executation)的协同程序(coroutine)可以在任何使用yield声明的地方暂停.yield返回值指定何时coroutine被复用.当模型构建在多个框架上时Coroutines表现优秀.Coroutines几乎没有任何的性能开销.,不论您能否正确得到结果StartCoroutine功能总是能立即返回.这将等到协同程序(couroutine,我怀疑原文此处有误,我当做coroutine翻译了)已完成了可执行程序.
不是太好,我没接触过协成的东东.