예제 #1
0
        CoroutineStates GetCoroutineState(IEnumerator coroutine)
        {
            CoroutineStates state = CoroutineStates.None;

            try {
                state = coroutineStateDict[coroutine];
            }
            catch {
                Logger.LogError(string.Format("Coroutine state was not found."));
            }

            return(state);
        }
예제 #2
0
 void SetCoroutineState(IEnumerator coroutine, CoroutineStates state)
 {
     coroutineStateDict[coroutine] = state;
 }
		void SetCoroutineState(IEnumerator coroutine, CoroutineStates state) {
			coroutineStateDict[coroutine] = state;
		}