Esempio n. 1
0
        public static RadicalCoroutine Create(IEnumerator extendedCoRoutine, string debugName)
        {
            RadicalCoroutine radicalCoroutine = new RadicalCoroutine();

            radicalCoroutine.Enumerator = radicalCoroutine.Execute(extendedCoRoutine, debugName);
            return(radicalCoroutine);
        }
Esempio n. 2
0
        public static Coroutine Run(MonoBehaviour owner, IEnumerator extendedCoRoutine, string debugName)
        {
            RadicalCoroutine radicalCoroutine = new RadicalCoroutine();

            radicalCoroutine.Enumerator     = radicalCoroutine.Execute(extendedCoRoutine, debugName);
            radicalCoroutine.unityOwner     = owner;
            radicalCoroutine.unityCoroutine = owner.StartCoroutine(radicalCoroutine.Enumerator);
            return(radicalCoroutine.unityCoroutine);
        }