docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PreviewInToolsMenuButton

    PreviewInToolsMenuButton(IUsesPreviewInToolsMenuButton, Transform, Type, string)

    Highlights a ToolMenuButton when a menu button is highlighted

    Declaration
    public static void PreviewInToolsMenuButton(this IUsesPreviewInToolsMenuButton user, Transform rayOrigin, Type toolType, string toolDescription)
    Parameters
    Type Name Description
    IUsesPreviewInToolsMenuButton user

    The functionality user

    Transform rayOrigin

    Transform: Ray origin to check

    Type toolType

    Type: MenuButton's tool type to preview

    string toolDescription

    String: The tool description to display as a Tooltip

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)