Interface ISettingsMenuProvider
Decorates types that can provide a sub-menu on the Settings menu. The class should also use a MainMenuItemAttribute
Namespace: UnityEditor.Experimental.EditorVR
Syntax
public interface ISettingsMenuProvider
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 |
settingsMenuInstance
An instance of the menu face prefab that was added to the menu May be null if settings menu could not be added to menu
Declaration
GameObject settingsMenuInstance { set; }
Property Value
Type | Description |
---|---|
GameObject |
settingsMenuPrefab
The menu face prefab which will be added to the menu
Declaration
GameObject settingsMenuPrefab { get; }
Property Value
Type | Description |
---|---|
GameObject |