I wrote the code by myself and after tthat i copied it but it still didnt work. what am I doing wrong?
Thanks for the help
Damir
I wrote the code by myself and after tthat i copied it but it still didnt work. what am I doing wrong?
Thanks for the help
Damir
Hi Damir, welcome to the community
The error you are seeing is most likely caused by you having more than one script where the class name has been defined as Level.
In the screenshot you’ve take we can see that the path to the script in question is Assets/Scripts/Level.cs, so take a look through the other folders you have, or perhaps even the root of Assets and see if you have another script with the same name.
Hope this helps
Thx, this was the case, my fault
You’re very welcome Damir.
I wouldn’t worry about assigning blame, you’re on a learning journey, so you can’t really be responsible for something you weren’t aware of
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.