MA Menu Group Converter
Converts a Modular Avatar MA Menu Item of type SubMenu into an MA Menu Group, and back. When the items of a submenu should sit directly in the parent menu instead, or the other way around, there is no need to swap the components and set them up again by hand.
| Component | In the menu |
|---|---|
| MA Menu Item (SubMenu) | Puts the menu items of the child objects into one submenu |
| MA Menu Group | Lists the menu items of the child objects directly in the parent menu |
The menu items of the child objects are left as they are; only the component on the object is replaced.
Usage
- MA Menu Item → MA Menu Group: ⋮ on the MA Menu Item component header (or right-click it) →
Kanameliser Editor Plus > Convert to MA Menu Group - MA Menu Group → MA Menu Item: ⋮ on the MA Menu Group component header (or right-click it) →
Kanameliser Editor Plus > Convert to MA Menu Item (Submenu)
A single Undo reverts it. With several objects selected, all of them are converted at once.
What is kept
- Source object override (the setting that takes the menu items from the children of another object)
- The component's place in the component list
Settings an MA Menu Group does not have, such as the icon, name and parameter of the MA Menu Item, are dropped when it becomes an MA Menu Group. When it becomes an MA Menu Item again, the submenu takes the object's name.
What cannot be converted
The menu entry is grayed out for:
- An MA Menu Item whose type is not SubMenu
- An MA Menu Item whose Submenu Source is Expressions Menu Asset. Expand the menu into child objects with the
Extract to objectsbutton of the MA Menu Item first - An object that has both an MA Menu Item and an MA Menu Group
- A Prefab asset selected in the Project window. Open it in Prefab Mode and convert it there
TIP
On a Prefab instance, the removed component and the added one are recorded as overrides. The new component cannot move above the components that come from the Prefab, so it is placed below them.