Answers for "unity smooth layer weight change"

C#
0

unity smooth layer weight change

var m_currentLayerWeight = _playerAnimator.GetLayerWeight(1);
     m_currentLayerWeight =Mathf.SmoothDamp(m_currentLayerWeight, IsArmed ? 1 : 0, ref _currentLayerWeightVelocity, animTransSmoothTime);
     _playerAnimator.SetLayerWeight(1,m_currentLayerWeight);
Posted by: Guest on October-11-2021

Code answers related to "unity smooth layer weight change"

C# Answers by Framework

Browse Popular Code Answers by Language