Beispiel #1
0
 public void Play()
 {
     if (TweenSequence.IsPlaying)
     {
         m_tweenSequence.Rewind();
     }
     m_tweenSequence.Play();
 }
Beispiel #2
0
        private IEnumerator RewindDelayed(UniTweenSequence sequence, WaitForSeconds delay)
        {
            yield return(delay);

            sequence.Rewind();
        }