Esempio n. 1
0
        protected override void OnRun()
        {
            if (audioSource == null || _clips == null || _clips.Length == 0)
            {
                Cancel();
                return;
            }

            _coroutine = FutureUtils.Coroutine(C0).Run().AddListener(f =>
            {
                if (f.isDone)
                {
                    Complete();
                }
            });
        }
 protected override void OnRun()
 {
     FutureUtils.Coroutine(LoadingProcess).Run();
 }