docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SelectTool

    SelectTool(IToolsMenu, Transform, Type)

    Selects a tool, based on type, from a Tools Menu Button

    Declaration
    public static void SelectTool(this IToolsMenu menu, Transform rayOrigin, Type type)
    Parameters
    Type Name Description
    IToolsMenu menu

    The menu

    Transform rayOrigin

    This menu's RayOrigin

    Type type

    The type of the tool that is to be selected

    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)