Interface ISettingsMenuItemProvider
Decorates types that can provide an item on the Settings menu
Namespace: UnityEditor.Experimental.EditorVR
Syntax
public interface ISettingsMenuItemProvider
Properties
rayOrigin
The rayOrigin this provider is associated with This will determine which menu is used. If null, both menus are used
Declaration
Transform rayOrigin { get; }
Property Value
Type | Description |
---|---|
Transform |
settingsMenuItemInstance
An instance of the menu face prefab that was added to the menu May be null if menu item could not be added to menu
Declaration
GameObject settingsMenuItemInstance { set; }
Property Value
Type | Description |
---|---|
GameObject |
settingsMenuItemPrefab
The menu face prefab which will be added to the menu
Declaration
GameObject settingsMenuItemPrefab { get; }
Property Value
Type | Description |
---|---|
GameObject |