docs.unity.cn
    Show / Hide Table of Contents

    Class XRInteractorExtensions

    Extension methods for IXRInteractor.

    Inheritance
    Object
    XRInteractorExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public static class XRInteractorExtensions

    Methods

    IsBlockedByInteractionWithinGroup(IXRInteractor)

    Checks whether this Interactor is currently incapable of interacting due to active interaction by another Interactor in its top level containing IXRInteractionGroup.

    Declaration
    public static bool IsBlockedByInteractionWithinGroup(this IXRInteractor interactor)
    Parameters
    Type Name Description
    IXRInteractor interactor

    The Interactor to operate on.

    Returns
    Type Description
    Boolean

    Returns true if interactor is currently incapable of interacting due to active interaction by another Interactor in its top level containing IXRInteractionGroup. Returns false otherwise. Always returns false if interactor is not contained within a Group.

    See Also

    IXRInteractor
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, June 20, 2023