docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Process

    Process(IXRSelectInteractor, IXRSelectInteractable)

    Called by the host object (XRInteractionManager, XRBaseInteractor or XRBaseInteractable) to verify if the select interaction between the given Interactor and Interactable can be performed.

    Declaration
    bool Process(IXRSelectInteractor interactor, IXRSelectInteractable interactable)
    Parameters
    Type Name Description
    IXRSelectInteractor interactor

    The Interactor to validate the select interaction.

    IXRSelectInteractable interactable

    The Interactable to validate the select interaction.

    Returns
    Type Description
    bool

    Returns true when the given Interactor can select the given Interactable. Otherwise, returns false.

    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)