diff --git a/src/Co.cs b/src/Co.cs index 41a4f6c..a54be9d 100644 --- a/src/Co.cs +++ b/src/Co.cs @@ -13,9 +13,9 @@ namespace HCoroutines; /// public static class Co { - private static Coroutine[] GetCoroutines(IEnumerator[] enumerators) + private static CoroutineBase[] GetCoroutines(IEnumerator[] enumerators) { - Coroutine[] coroutines = new Coroutine[enumerators.Length]; + CoroutineBase[] coroutines = new CoroutineBase[enumerators.Length]; for (int i = 0; i < enumerators.Length; i++) {