Gameplay.Unit.Movement.PathAgentController.OnMoveSpeedAttributeChange C# (CSharp) Method

OnMoveSpeedAttributeChange() protected method

protected OnMoveSpeedAttributeChange ( float prevValue, float currentValue ) : void
prevValue float
currentValue float
return void
        protected override void OnMoveSpeedAttributeChange(float prevValue, float currentValue)
        {
            base.OnMoveSpeedAttributeChange(prevValue, currentValue);
            navMeshAgent.speed = moveSpeedValue;
        }