The use of C# coroutine IEnumerator (in)
1. How to use
1. Delayed execution
In Unity, using coroutines can easily implement delayed execution, that is, execute a certain code block after a certain period of time. For example, we can use the yield return new WaitForSeconds method to implement delayed execution. The specific code is as follows:
IEnumerator Dela