Пример #1
0
        public static TimedEnumeration <T> StartManagedCoroutine <T>(IEnumerator enumerator, Action <T> onDone = null)
        {
            var enm = new TimedEnumeration <T>(enumerator);

            enm.onDoneFullyReturnData = onDone;
            enumerators.Insert(0, enm);
            return(enm);
        }
Пример #2
0
        public static TimedEnumeration StartManagedCoroutine(IEnumerator enumerator, Action onDone = null)
        {
            var enm = new TimedEnumeration(enumerator);

            enm.onDoneFully = onDone;
            enumerators.Insert(0, enm);
            return(enm);
        }