This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| // Adapted from https://jacksondunstan.com/articles/3718 | |
| public static class CoroutineUtils | |
| { | |
| // Calls a coroutine but if there's an error in that coroutine, it'll log the error & return | |
| // instead of just killing the caller. | |
| // | |
| // Call it like this: |