docs.unity3d.com
    Show / Hide Table of Contents

    XR Simple Interactable

    This is the simplest version of an Interactable object. It simply provides a concrete implementation of the XRBaseInteractable. It is intended to be used as a way to respond to interaction events with no underlying interaction behavior.

    XRSimpleInteractable component

    Property Description
    Interaction Manager The XRInteractionManager that this Interactable will communicate with (will find one if None).
    Interaction Layer Mask Allows interaction with Interactors whose Interaction Layer Mask overlaps with any Layer in this Interaction Layer Mask.
    Colliders Colliders to use for interaction with this Interactable (if empty, will use any child Colliders).
    Custom Reticle The reticle that appears at the end of the line when valid.
    Select Mode Indicates the selection policy of an Interactable. This controls how many Interactors can select this Interactable.
    The value is only read by the Interaction Manager when a selection attempt is made, so changing this value from Multiple to Single will not cause selections to be exited.
     Single Set Select Mode to Single to prevent additional simultaneous selections from more than one Interactor at a time.
     Multiple Set Select Mode to Multiple to allow simultaneous selections on the Interactable from multiple Interactors.
    Interactable Events See the Interactable Events page.
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023