Interface IToolsMenu
Gives decorated class Tools Menu functionality
Inherited Members
Namespace: UnityEditor.Experimental.EditorVR
Syntax
public interface IToolsMenu : IUsesMenuOrigins, ICustomActionMap, IProcessInput, IUsesNode, IUsesSelectTool, IFunctionalitySubscriber<IProvidesSelectTool>, IFunctionalitySubscriber
Properties
alternateMenuVisible
Bool denoting that the alternate menu (radial menu, etc) is currently visible Allows the ToolsMenu to adapt visibility state changes that occur in the AlternateMenu
Declaration
bool alternateMenuVisible { set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
deleteToolsMenuButton
Delete the tool button with corresponding type of the first parameter. Then, select the tool button which corresponds to the type of the second parameter.
Declaration
Action<Type, Type> deleteToolsMenuButton { get; }
Property Value
| Type | Description |
|---|---|
| Action<Type, Type> |
mainMenuActivatorInteractable
Set the interactable state on the main menu activator button
Declaration
bool mainMenuActivatorInteractable { set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
PreviewToolsMenuButton
The ToolsMenuButton that the menu uses to display tool previews
Declaration
IToolsMenuButton PreviewToolsMenuButton { get; }
Property Value
| Type | Description |
|---|---|
| IToolsMenuButton |
rayOrigin
This menu's RayOrigin
Declaration
Transform rayOrigin { get; set; }
Property Value
| Type | Description |
|---|---|
| Transform |
setButtonForType
Declaration
Action<Type, Sprite> setButtonForType { get; }
Property Value
| Type | Description |
|---|---|
| Action<Type, Sprite> |