注意Edit - Project Setting - Time - Time Scale 的值不要置零或者极小值,默认是1。
new WaitForSeconds的时候,参数的单位是秒,不是毫秒。yeild new WaitForSeconds(2000f)这种肯定也会卡住。