定义协程:IEnumerator 方法名()
{
yield return 0/null ;
yield return new WaitForSeconds(1.0f); //协程-等待一定时间在运行下面的代码
}
开启协程:StartCoroutines(方法名());
说明:协程开启会继续执行下面代码,不会等协程方法运行完再执行接下来的方法
StopAllCoroutines() 停止所有的协...
English Article | Word Count | Duration | Accuracy | Speed | Backspace | Error | Slogan |
---|---|---|---|---|---|---|---|
《unity常用词汇》 | 211字 | 166.0分钟 | 4% | 68 CPM | 0 次 | 195 | 不及格,错误太多! |
The wrong word this time: 定,义,协,程,:,I,E,n,u,m,e,r,a,t,o,r,方,法,名,(,),{,y,i,e,l,d,r,e,t,u,r,n,0,/,n,u,l,l,;,y,i,e,l,d,r,e,t,u,r,n,n,e,w,W,a,i,t,F,o,r,S,e,c,o,n,d,s,(,1,.,0,f,),;,/,/,协,程,-,等,待,一,定,时,间,在,运,行,下,面,的,代,码,},开,启,协,程,:,S,t,a,r,t,C,o,r,o,u,t,i,n,e,s,(,方,法,名,(,),),;,说,明,:,协,程,开,启,会,继,续,执,行,下,面,代,码,,,不,会,等,协,程,方,法,运,行,完,再,执,行,接,下,来,的,方,法,S,t,o,p,A,l,l,C,o,r,o,u,t,i,n,e,s,(,),停,止,所,有,的,协,程,,,不,管,你,是,怎,么,调,用,的 | |||||||
Suggestion:
正确率比较低,多观察一下出错的字加以修正,一般来讲都要达到95%以上比较好。
|
|||||||
Inspirational quotes: 谁在夺取了胜利之后又征服了自己,谁就赢得了两次征战。 ——培根 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |