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

    Class UsesPreviewInToolsMenuButtonMethods

    Inheritance
    Object
    UsesPreviewInToolsMenuButtonMethods
    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public static class UsesPreviewInToolsMenuButtonMethods

    Methods

    ClearToolsMenuButtonPreview(IUsesPreviewInToolsMenuButton)

    Clears any ToolMenuButton previews that are set

    Declaration
    public static void ClearToolsMenuButtonPreview(this IUsesPreviewInToolsMenuButton user)
    Parameters
    Type Name Description
    IUsesPreviewInToolsMenuButton user

    The functionality user

    PreviewInToolsMenuButton(IUsesPreviewInToolsMenuButton, Transform, Type, String)

    Highlights a ToolMenuButton when a menu button is highlighted The functionality user Transform: Ray origin to check Type: MenuButton's tool type to preview String: The tool description to display as a Tooltip

    Declaration
    public static void PreviewInToolsMenuButton(this IUsesPreviewInToolsMenuButton user, Transform rayOrigin, Type toolType, string toolDescription)
    Parameters
    Type Name Description
    IUsesPreviewInToolsMenuButton user
    Transform rayOrigin
    Type toolType
    String toolDescription
    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