Unity is telling me to fix all compiler errors and giving me this - Assets/TextController.cs(15,38): error CS1525: Unexpected symbol (', expecting
identifier’ - when I try running it.
Here’s my code:
https://pastebin.com/3muqk0gF
And a screenshot:
Unity is telling me to fix all compiler errors and giving me this - Assets/TextController.cs(15,38): error CS1525: Unexpected symbol (', expecting
identifier’ - when I try running it.
Here’s my code:
https://pastebin.com/3muqk0gF
And a screenshot:
Hey Damian!
I checked Unity documentation and it looks like you should change “(Input.GetKeyDown.(KeyCode.Space))” in your code to “(Input.GetKeyDown(KeyCode.Space))”. Below is the screenshot of code sample I found in documentation.
I hope it helps.
As Artem said, you have a dot after GetKeyDown that should not be here
Thank you Artem!