mackysoft / Unity-SerializeReferenceExtensions

Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.
https://qiita.com/makihiro_dev/items/26daeb3e5f176934bf0a
MIT License
770 stars 59 forks source link

Force nesting when there is any sub menu in AddTypeMenu attribute. #22

Closed yellowisher closed 2 years ago

yellowisher commented 2 years ago

Description

This fixes https://github.com/mackysoft/Unity-SerializeReferenceExtensions/issues/21. Rather than just fix the bug, I considered '/' in menu name is explicit sub category.

Changes made

mackysoft commented 2 years ago

Thanks!