Skip to content

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

@thestonefox

Description

@thestonefox

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions