docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Event finalizeRaycastResults

    Calls the methods in its invocation list after the input module collects a list of type RaycastResult, but before the results are used. Note that not all fields of the event data are still valid or up to date at this point in the UI event processing. This event can be used to read, modify, or reorder results. After the event, the first result in the list with a non-null GameObject will be used.

    Namespace: UnityEngine.XR.Interaction.Toolkit.UI
    Assembly: solution.dll
    Syntax
    public event Action<PointerEventData, List<RaycastResult>> finalizeRaycastResults
    Returns
    Type Description
    Action<PointerEventData, List<RaycastResult>>
    In This Article
    Back to top
    Copyright © 2023 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)