Class XRHoverInteractableExtensions
Extension methods for IXRHoverInteractable.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
public static class XRHoverInteractableExtensions
Methods
| Name | Description |
|---|---|
| GetOldestInteractorHovering(IXRHoverInteractable) | Gets the oldest interactor currently hovering on this interactable. This is a convenience method for when the interactable does not support being hovered by multiple interactors at a time. |
| IsHoveredByLeft(IXRHoverInteractable) | Gets whether the interactable is currently being hovered by an interactor associated with the left hand or controller. |
| IsHoveredByRight(IXRHoverInteractable) | Gets whether the interactable is currently being hovered by an interactor associated with the right hand or controller. |