private float mF;
[Range(0f, mF)]
public int minimapCamFOV;
I know the error is in the third line, but I don’t know why.
private float mF;
[Range(0f, mF)]
public int minimapCamFOV;
I know the error is in the third line, but I don’t know why.
It’s the same as why you can’t write this:
private float mF;
public int minimapCamFOV = mF;
Which is covered here: Compiler Error CS0236 | Microsoft Learn