WhiteCore.Region.Animation.Animator.UpdateMovementAnimations C# (CSharp) Method

UpdateMovementAnimations() public method

Update the movement animation of this avatar according to its current state
public UpdateMovementAnimations ( bool sendTerseUpdate ) : void
sendTerseUpdate bool
return void
        public void UpdateMovementAnimations (bool sendTerseUpdate)
        {
            string oldanimation = m_movementAnimation;
            m_movementAnimation = GetMovementAnimation ();
            if (NeedsAnimationResent || oldanimation != m_movementAnimation || sendTerseUpdate) {
                NeedsAnimationResent = false;
                TrySetMovementAnimation (m_movementAnimation, sendTerseUpdate);
            }
        }