isselectableby - eisclimber/ExPresS-XR GitHub Wiki

ExPresSXRGrabInteractable.IsSelectableBy(IXRSelectInteractor)

Method in ExPresSXRGrabInteractable

Summary

Denies selection of direct and ray interactors if grabbing is not allowed, emitting the respective events.

public override bool IsSelectableBy(IXRSelectInteractor interactor)

Parameters

Name Description
UnityEngine.XR.Interaction.Toolkit.Interactors.IXRSelectInteractor interactor Interactor trying to select

Returns

Whether or not selection is allowed.

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