public static Coroutinex StartCoroutinex(this MonoBehaviour self, IEnumerator routine)
        {
            Coroutinex coroutine = new Coroutinex(self, routine);

            coroutine.Start();
            return(coroutine);
        }
 public static void StopCoroutinex(this MonoBehaviour self, Coroutinex coroutine)
 {
     coroutine.Stop();
 }
示例#3
0
        public static Coroutinex Start(IEnumerator routine)
        {
            Coroutinex coroutine = new Coroutinex(routine);

            return(coroutine);
        }