Class UsesPreviewInToolsMenuButtonMethods | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX