coroutine not eaffected by time.timescale unity

Code Example - coroutine not eaffected by time.timescale unity

                
                        Unity now has a special "WaitForSeconds" called WaitForSecondsRealtime which does the same as WaitForSeconds but is not affected by Time.timeScale.

This update renders the other answers out-of-date.