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