Hello, I am new to unity and c# so I'm having a problem solving this error. I was trying to make the score go up by 1 every time the player collects a coin but I keep getting an error called this: Assets\Script\ScoreManager.cs(17,9): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement for my score manager script. Please help, and thank you.![alt text][1]
[1]: /storage/temp/203049-screenshot-192.png
,Hi, I'm new to c# so I'm having a hard time trying to fix this error. I'm trying to make the score go up by 1 every time the player collects a coin but for the score manager script I'm getting this error Assets\Script\ScoreManager.cs(17,9): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement. Please help, and thank you.
↧