Struggling to fix this coding error, been following the unity 3d course




Ive been searching for hours for anwsers and i just cant make sense of it, would really appreciate the help

1 Like

Hi! Welcome to the community!

Your issue is a syntax error, I was able to replicate it but I don’t see it in your script, so I can only think of one thing that might be happening here: You had an error, you fixed it but forgot to save the script. Try saving your script and see if that solves your issue.

If the error persists, delete your script, create a new one, go to this lectures commit and copy-paste the code in your newly created script, you can copy-paste it from the following link.

You are using round brackets instead of curly 25 and 29 line

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms