Esempio n. 1
0
        protected override void Awake()
        {
            base.Awake();

            if (m_CurrentAnimator == null)
            {
                if (!m_RoutineAnimator)
                {
                    m_RoutineAnimator = GetComponent <RoutineButtonAnimator>();
                }
                if (m_RoutineAnimator)
                {
                    m_CurrentAnimator = m_RoutineAnimator;
                }
            }
        }
Esempio n. 2
0
        protected override void Reset()
        {
            base.Reset();

            m_RoutineAnimator = GetComponent <RoutineButtonAnimator>();
        }