ishoverableby - eisclimber/ExPresS-XR GitHub Wiki

BaseButton.IsHoverableBy(IXRHoverInteractor)

Method in BaseButton

Summary

Determines if the Button can be hovered or in this case pressed by an IXRHoverInteractor.

public override bool IsHoverableBy(IXRHoverInteractor interactor)

Parameters

Name Description
UnityEngine.XR.Interaction.Toolkit.Interactors.IXRHoverInteractor interactor Interactor hovering the button.

Returns

Whether or not the interactor can hover (i.e. press) the button

⚠️ **GitHub.com Fallback** ⚠️