Does someone know if there is an asset that displays the NAMESPACE of Monobehaviour when adding from the inspector?
These scripts are in different namespaces, I want it to display them, is there any asset?
Does someone know if there is an asset that displays the NAMESPACE of Monobehaviour when adding from the inspector?
These scripts are in different namespaces, I want it to display them, is there any asset?
Namespaces are already used to define the sub menus of the add component menu, like so:
These are all namespaces under the HIAS namespace in my current project. So one option is to just navigate to the right component via these menus.
Otherwise if you these are your own scripts, you can use the [AddComponentMenu]
attribute to define more descriptive names for them.
Ok it displays the namespace, but if I’m searching at the search bar it doesn’t display and this is what I need
Then do my second suggestion.
It still does not work, I want that when I’m searching it will display the script and the namespace that is assigned to it
What do you mean it doesn’t work?
If you decorated one component with [AddComponentMenu("Namespace1-PrivacyPolicyActivator")]
and another one [AddComponentMenu("Namespace2-PrivacyPolicyActivator")]
does that not achieve what you want???