Hi, I am using a camera script that controls saturation and there is a public float for the saturation slider 0 - 1f
So, I want to lerp to 0 when the player is almost dead, and lerp back to full when he has enough health, but for some reason I cannot lerp the float value as it always shows an error - ‘float does not contain a constructor that takes 1 argument’
Here is the line I am trying to use:
colorCorrectionScript.saturation = new float(Mathf.Lerp(cameraNormalSaturation, cameraDamageSaturation, Time.deltaTime));
Can someone point out what I have done wrong please?