It just says error CS1002, and that I am missing ; at line 52.
9783012–1403070–PlayerController.cs (1.8 KB)
It just says error CS1002, and that I am missing ; at line 52.
9783012–1403070–PlayerController.cs (1.8 KB)
You are missing an if in line 52. Also, yeah, please use code tags and post in the correct sections.
Line 38 is incorrect too. Avoid extraneous parentheses. It can very quickly lead to mistakes.
if(Input.GetKeyDown((KeyCode.Space) && isOnGround))
Here’s the corrected line.
if(Input.GetKeyDown(KeyCode.Space) && isOnGround)
If you’re using a proper IDE these mistakes will be highlighted with red squiggly lines.