コード例 #1
0
        private void PlayOutroSequence()
        {
            CurState = EUIAnimState.PreOutro;

            OnPreOutro?.Invoke(this);

            _animBehavColl.ForEach(s => s.PlayOutro(OnOutroSequenceFinished));
        }
コード例 #2
0
        private void OnOutroSequenceFinished()
        {
            if (_animBehavColl.FindAll(s => s.IsPlaying).Count == 0)
            {
                CurState = EUIAnimState.PostOutro;

                OnPostOutro?.Invoke(this);
            }
        }
コード例 #3
0
        private void ResetSequence()
        {
            _animBehavColl.ForEach(s => s.ResetAnim());

            CurState = EUIAnimState.None;
        }