So Im trying to make a script that increases the score.
private TextMeshProGUI text;
private string Text;
public float score = 0f;
But for some reason I get this error
What am I doing wrong? I installed the TextMeshProGUI so I don’t get what I’m doing wrong.
I’m using Unity 2020.3.