Interface IProvidesInstantiateMenuUI
Provide access to the spatial hash
Inherited Members
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public interface IProvidesInstantiateMenuUI : IFunctionalityProvider
Methods
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 |