CoroutineStates GetCoroutineState(IEnumerator coroutine) { CoroutineStates state = CoroutineStates.None; try { state = coroutineStateDict[coroutine]; } catch { Logger.LogError(string.Format("Coroutine state was not found.")); } return(state); }
void SetCoroutineState(IEnumerator coroutine, CoroutineStates state) { coroutineStateDict[coroutine] = state; }