2023-04-15 17:11:30 +08:00
|
|
|
# Menu Install Target
|
|
|
|
|
2023-08-12 21:28:24 +08:00
|
|
|
The Menu Install Target component is a component used to support the "Select Menu" button on the [MA Menu Installer](menu-installer.md) component.
|
2023-04-15 17:11:30 +08:00
|
|
|
It "pulls" the menu from the MA Menu Installer component, and installs it based on the position of the game object it is
|
|
|
|
attached to.
|
|
|
|
|
|
|
|
![Menu Install Target](menu-install-target.png)
|
|
|
|
|
|
|
|
## When should I use it?
|
|
|
|
|
|
|
|
Modular Avatar will create this component when necessary, when you use the "select menu" button on the
|
2023-08-12 21:28:24 +08:00
|
|
|
[MA Menu Installer](menu-installer.md) component. In most cases it is not necessary to create it manually.
|
2023-04-15 17:11:30 +08:00
|
|
|
|
|
|
|
## What does it do?
|
|
|
|
|
|
|
|
This component will override the target menu option on the menu installer that is selected; the menu installer will
|
|
|
|
instead act as if its menu had been copy-pasted to the location of the Menu Install Target. This allows for prefabs that
|
2023-09-27 19:23:10 +08:00
|
|
|
use Menu Installers to be integrated into the [object-based menu system](/docs/tutorials/menu).
|