Unity中協程的運行

在協程中搭配一個while循環,能夠促使攜程在多個幀數中運行,而不是一幀中就運行完成 如: private IEnumerator _GameOver()     {         isGameOver = true;         StartCoroutine(ScreenShake.Shake(theGame, 0.1f));         while (ScreenShake.isSh
相關文章
相關標籤/搜索