Safe Coroutine overcomes several limitations of Unity's coroutines and provides you with flexible controls.
Main Features- Stopping of any safe coroutine
- State change notification
- Pausing and resuming
- Nesting
- Exception handling
- Returning of typed results
-
Source codeConverting your code to use safe coroutines is straight forward.
Video Unity Forum Thread