Using two scripts for one GameObject that are in the same namespace not working?!,Using 2 Scrips in 1 GameObject with the same namespace not working?
Hello guys!
So I am working on a project for college with some fellow students and to be able to differentiate all the written scripts we started using Namespaces today. And since the moment I put all my scripts into the same namespace one of my scripts can't get loaded into Unity anymore.
Here are a few screenshots of inspector view and code: https://imgur.com/a/dbTl8sp
It only happens to one script, as soon as I change the namespace to a comment in that script everything is working as it should, when I remove the comments the script doesn't get recognized any longer. We are using Unity 2019.3.6f1.
Does anyone know how to fix it?
I know I could just remove the namespaces but since it is a project for college and we also have to write a code documentation I'd like all my code to be in the same namespace.
Thank you for your answers!
Your answer