docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class XRSelectInteractableExtensions

    Extension methods for IXRSelectInteractable.

    Inheritance
    object
    XRSelectInteractableExtensions
    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
    Assembly: solution.dll
    Syntax
    public static class XRSelectInteractableExtensions

    Methods

    Name Description
    GetOldestInteractorSelecting(IXRSelectInteractable)

    Gets the oldest interactor currently selecting this interactable. This is a convenience method for when the interactable does not support being selected by multiple interactors at a time.

    IsSelectedByLeft(IXRSelectInteractable)

    Gets whether the interactable is currently being selected by an interactor associated with the left hand or controller.

    IsSelectedByRight(IXRSelectInteractable)

    Gets whether the interactable is currently being selected by an interactor associated with the right hand or controller.

    See Also

    IXRSelectInteractable
    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)