docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDirectSelection

    GetDirectSelection(IUsesDirectSelection)

    Returns a dictionary of direct selections

    Declaration
    public static Dictionary<Transform, DirectSelectionData> GetDirectSelection(this IUsesDirectSelection user)
    Parameters
    Type Name Description
    IUsesDirectSelection user

    The functionality user

    Returns
    Type Description
    Dictionary<Transform, DirectSelectionData>

    Dictionary (K,V) where K = rayOrigin used to select the object and V = info about the direct selection

    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)