public void RepeatPlay(bool isPlay)
 {
     isRepeatPlaying = isPlay;
     if (isPlay)
     {
         isRepeatPlaying = true;
         TryStopCoroutine();
         cacheEnum = CoroutineManager.StartCoroutineEx(IERepeatPlay());
     }
     else
     {
         TryStopCoroutine();
         isRepeatPlaying = false;
         base.StopFunc();
     }
 }
Пример #2
0
 public void DelayPlay(float delayTime)
 {
     TryStopCoroutine();
     cacheEnum = CoroutineManager.StartCoroutineEx(IEDelayPlay(delayTime));
 }
Пример #3
0
 public void TempPlay(float duration)
 {
     TryStopCoroutine();
     cacheEnum = CoroutineManager.StartCoroutineEx(isContinuous ? IETempContinuousPlay(duration) : IETempPlay(duration));
 }