Cheers. I was previously getting the above error but noted that I was missing a semi-colon on line 37. This was the error.
Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(39,9): error CS1525: Unexpected symbol ‘}’
But now I am getting two errors which state
Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(37,121): error CS1026 Unexpected symbol ‘;’, expecting ‘)’
Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(38,25):error CS1026: Unexpected symbol ‘)’, expecting ‘)’
When I change the symbols to the ones suggested in the Console error window I get another error stating
Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(38,25): error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement.
How would I go about getting the copy paste script for the Platformer Character 2D script in the ‘How to make a 2D Platformer – CHARACTER – Unity Tutoril number 5’.