Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto create AddComponentMenu attribute to better sort scripts in the Unity component picker #32

Open
thestonefox opened this issue Feb 22, 2019 · 0 comments

Comments

@thestonefox
Copy link
Member

Unity doesn't sort scripts into a nice collapsible folder structure based on the namespace in the component picker.

image

They rely on an [AddComponentMenu] attribute to be added to each class to tell Unity how best to organise the component in the component picker.

A way of having Malimbe apply this attribute to an entire namespace would be a great time saver.

Maybe that Malimbe weaver just takes the whole config in the config file instead of any attributes. Something like

NamespaceRegex="^Zinnia" Hidden="false"
NamespaceRegex="^Tests.Zinnia" Hidden="true"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant