Example #1
0
 public void Start()
 {
     if (_coroutine == null)
     {
         _coroutine = new CoroutineStoppable(_caster, Exec());
     }
 }
Example #2
0
        public static IEnumerator StopTstFunc(CoroutineStoppable coroutine, float waitSecond)
        {
            yield return(new WaitForSeconds(waitSecond));

            coroutine.stop = true;
        }