Complete C# Unity Game Developer 3D - Your First Script

Having followed precisely the instructions for my first script on running the unity scene from the play button I get a compiler warning and at the console a string of error messages.

Having coded before in C some years ago I expect exaqmples to do what they say they do. Why is this one not working?

GP

1 Like

Hi,

Welcome to our community! :slight_smile:

C# is case-sensitive. Make sure everything is spelt correctly. Check the word in your code that is mentioned in the error message. Remember you can also look at the lecture code changes via the link in the Resources of each lecture.

Did this help?


See also:

1 Like

Welcome to GameDev Community!

Nina is right. It’s a case-sensitive error. I see it, too.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms