Example #1
0
        public void StartCoroutine(IEnumerator coroutine, TimeSpan wait)
        {
            var c = new CoroutineTask(coroutine, new WaitTime(wait));

            coroutines.Add(c);
        }
Example #2
0
        public void StartCoroutine(IEnumerator coroutine, int numberOfFrames)
        {
            var c = new CoroutineTask(coroutine, new WaitFrames(numberOfFrames));

            coroutines.Add(c);
        }
Example #3
0
        public void StartCoroutine(IEnumerator coroutine)
        {
            var c = new CoroutineTask(coroutine);

            coroutines.Add(c);
        }