Hello. I know this is a simple concept, but I have looked in the manuel/reference and i just cannot seem to understand this, how does unity use numbers (static variables?)? I want to make a score for the game, how do I reference the "Score" value through another function? How do I activate a function when the score value equals a certain amount? Thank you.
static var Score = 5; print(Score); Score = 1;