I wanted to try to get this message out clearly and broadly.
Lately we have seen a number of very convoluted uses of co-routines in questions in Unity Answers and the question always seems to start with the same statement:
"I used co-routines because I didn't want to slow my code down with code in Update..."
Be very clear. There is no magic in coroutines.
The reason loading your Update down with unnecessary work slows your program is because that work gets done every frame. If...
Coroutines are not magic
Lately we have seen a number of very convoluted uses of co-routines in questions in Unity Answers and the question always seems to start with the same statement:
"I used co-routines because I didn't want to slow my code down with code in Update..."
Be very clear. There is no magic in coroutines.
The reason loading your Update down with unnecessary work slows your program is because that work gets done every frame. If...
Coroutines are not magic