#pragma strict
static var specialeffecton : int = 1;
static var speedeffectsize :float = 0.3;
var bluuur : float;
function Start () {
}
function Update () {
bluuur = Mathf.Lerp(1,0.2,Car_Movement.currentspeed/Car_Movement.topspeed);
Bloom.bloomThreshhold = bluuur;}
And he’s my error
Assets/Standard Assets/Scripts/My Scripts/sets.js(13,7): BCE0020: An instance of type ‘Bloom’ is required to access non static member ‘bloomThreshhold’.
I totally i don’t know what i have wrong.
PS : Bloom is standard pro asset.