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

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

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

            coroutines.Add(c);
        }