Esempio n. 1
0
        public void PreviousPhase()
        {
            var currentPhase = (int)m_TutorialPhase;

            m_TutorialPhase = (ETutorialPhase)(currentPhase - 1);
            SetPhaseAnimation((int)m_TutorialPhase);
        }
Esempio n. 2
0
        public void SetPhaseAnimation(int value)
        {
            var fitValue = value <0 ? 0 : value> (int) ETutorialPhase.End ? (int)ETutorialPhase.End : value;

            m_TutorialAnimator.SetInteger("AnimParam", fitValue);
            m_TutorialPhase = (ETutorialPhase)fitValue;
        }
Esempio n. 3
0
        public void NextPhase()
        {
            var currentPhase = (int)m_TutorialPhase;

            m_TutorialPhase = (ETutorialPhase)(currentPhase + 1);
            SetPhaseAnimation((int)m_TutorialPhase);
        }