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); }
public static TimedEnumeration StartManagedCoroutine(IEnumerator enumerator, Action onDone = null) { var enm = new TimedEnumeration(enumerator); enm.onDoneFully = onDone; enumerators.Insert(0, enm); return(enm); }