Interface IToolsMenu | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IToolsMenu

    Gives decorated class Tools Menu functionality

    Inherited Members
    ICustomActionMap.actionMap
    ICustomActionMap.ignoreActionMapInputLocking
    IProcessInput.ProcessInput(ActionMapInput, ConsumeControlDelegate)
    Namespace: UnityEditor.Experimental.EditorVR
    Syntax
    public interface IToolsMenu : IUsesMenuOrigins, ICustomActionMap, IProcessInput, IUsesNode, IUsesSelectTool, IFunctionalitySubscriber<IProvidesSelectTool>

    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>

    Extension Methods

    IToolsMenuMethods.MainMenuActivatorSelected(IToolsMenu, Transform)
    IToolsMenuMethods.SelectTool(IToolsMenu, Transform, Type)
    UsesSelectToolMethods.SelectTool(IUsesSelectTool, Transform, Type, Boolean, Boolean)
    UsesSelectToolMethods.IsToolActive(IUsesSelectTool, Transform, Type)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023