Could you pop everything in a namespace? As long as MonoBehaviours are 1 per script file (dont have any other class in there), they work, and prevent conflicts with other plugins.
Hi
Most things already are in a namespace, I have thought of that.
99% of all problems I have seen with namespaces on this forum is that other plugins (or users) are not putting their stuff inside namespaces, so when my scripts do something like
using Pathfinding;
And I want to use the Modifier class, if another plugin or user has a class named Modifier which is not put inside a namespace, it will still be an ambiguous reference.
The only solution from my side would be to, in all references use something liek “Pathfinding.MyClass” instead of “using Pathfinding” and then just “MyClass”, however I refuse to do that since it would make the whole project a lot less maintainable and also would increase the size of all files a large amount.
There are a few more things I could put inside a namespace, namely most MonoBehaviors and a few RecastGraph classes (however those are put inside a namespace in a local version I have).
Ok, thats fair enough. Thanks for the quick response!