(9,38): error CS1002: ; expected and (9,44): error CS1519: Invalid token ';'

Hi, I am started with Unity and I am following tutorials on youtube and I have what the guy have, but I have the two errors of the title. Can someone please help me?
Here is my code:

On line 9 you have to remove “float”. Should resolve both errors

Thank you very much, I was thinking on reinstall unity.

Errors like this are always based on thw code, there is normally no reason to reinstall unity :wink:

2 Likes

Also, please don’t post screenshots of code. Intsead,

Please use code tags: Using code tags properly