The code is giving me errors. I was working fine, then I updated Unity to the latest version and now the script is giving me three errors.
Here are the errors:
I have tried to fix the errors. Please help.
asked Jul 19 '12 at 08:25 PM
You have a semi-colon (;) after the if-statement.
Remove it and it should be fine :)
So the code should be: