Acces variables before start()

Hey, I have 2 variables (floats) declared before the start() function, and now I want to create a vector3 variable (also before the start() function, but I can’t access those floats. Should I create the Vector3 in the start() function? Or where should I declare all my variables within my script?

CODE:

public float OpenAngle = 90F;
public float CloseAngle = 0F;

Vector3 current = new Vector3(0, ..., 0);

Tyvm!!!

you can create the Vector3 variable before start, but assign its value in start once the floats are properly accessible:

public float OpenAngle = 90F;
public float CloseAngle = 0F;
Vector3 current;

void Start(){
    current = new Vector3(OpenAngle, 0, 0);
}

this way current is still a global variable (it can be used anywhere else within this class) but you can give it the correct values!