Malimbe icon indicating copy to clipboard operation
Malimbe copied to clipboard

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

Open thestonefox opened this issue 6 years ago • 0 comments

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"

thestonefox avatar Feb 22 '19 13:02 thestonefox