Beispiel #1
0
        protected void OnEnable()
        {
            if (playOnEnable)
            {
                m_tweenSequence.Play();
            }

            if (resumeOnEnable)
            {
                m_tweenSequence.Resume();
            }

            //if (playBackwardsOnEnable)
            //    m_tweenSequence.PlayBackwards();
        }
Beispiel #2
0
        private IEnumerator ResumeDelayed(UniTweenSequence sequence, WaitForSeconds delay)
        {
            yield return(delay);

            sequence.Resume();
        }