Method InstantiateMenuUI
InstantiateMenuUI(Transform, IMenu)
Instantiate custom menu UI on a proxy
Declaration
GameObject InstantiateMenuUI(Transform rayOrigin, IMenu menuPrefab)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | rayOrigin | The ray origin of the proxy that this menu is being instantiated from |
| IMenu | menuPrefab | The prefab (with an IMenu component) to instantiate |
Returns
| Type | Description |
|---|---|
| GameObject | The instantiated object |