Ejemplo n.º 1
0
        protected virtual void SetState(string newState, float transitionDuration)
        {
            if (m_CurrentStatePlaying == newState)
            {
                return;
            }

            m_AnimatorManager.SetAnimatorState(newState, transitionDuration, AnimatorManager.BaseLayerIndex);
            m_CurrentStatePlaying = newState;
        }