docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method UpdateGroupMemberInteractions

    UpdateGroupMemberInteractions()

    The XRInteractionManager calls this method to update interactions for this Group's members. This is where interaction events occur for any IXRInteractor member.

    Declaration
    void UpdateGroupMemberInteractions()
    Remarks

    The implementation of this method should call UpdateGroupMemberInteractions(IXRInteractor, out IXRInteractor).

    UpdateGroupMemberInteractions(IXRInteractor, out IXRInteractor)

    Updates interactions for this Group's members, given an Interactor that has already been prioritized for interaction. This is where interaction events occur for any IXRInteractor member.

    Declaration
    void UpdateGroupMemberInteractions(IXRInteractor prePrioritizedInteractor, out IXRInteractor interactorThatPerformedInteraction)
    Parameters
    Type Name Description
    IXRInteractor prePrioritizedInteractor

    The Interactor that has already been prioritized for interaction. If not null, this prevents all other members in this Group from interacting.

    IXRInteractor interactorThatPerformedInteraction

    The Interactor in this Group or any of its member Groups that performed interaction as a result of this method call. This will be null if no Interactor performed interaction.

    Remarks

    The implementation of this method should call this method on each member that is an IXRInteractionGroup. After this method is called, activeInteractor should return the same reference as interactorThatPerformedInteraction.

    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)