/// <summary> Copies the target values </summary> /// <param name="target"> Target to copy </param> public void Copy(LerpMoveValue target) { lerpSpeed = target.lerpSpeed; moveSpeed = target.moveSpeed; }
/// <summary> Setup the smooth value </summary> public SmoothValue(float value, LerpMoveValue speed) { this.value = value; valueTarget = value; this.speed = speed; }