What am I doing wrong with this code?

Screenshot 2024-09-02 062111


Screenshot 2024-09-02 062217

You have an errant semi-colon at the end of your method on line 10 which is throwing everything out.

Also what is that IDE? Monoscript?

1 Like

Thank you very much :grin:

Looks exactly like Visual Studio. Probably Visual Studio.

Must be a very old version. Or a different skin.

In any case it looks like the Unity integration on it isn’t working.