tagchecksocketinteractor - eisclimber/ExPresS-XR GitHub Wiki

TagCheckSocketInteractor

Class in ExPresSXR.Interaction.Interactors

Inherits from HighlightableSocketInteractor

Summary

An Expansion of the HighlightableSocketInteractor to restrict access to GameObjects with the tags specified in _targetTags. This allows a set of multiple Object to be a valid target.

An empty string as targetTag will match the "Untagged"-tag.

public class TagCheckSocketInteractor : HighlightableSocketInteractor

Methods

Name Description
CanHover(IXRHoverInteractable) Determines if a XRGrabInteractable can hover, i.e. is considered a valid target.
Can be overwritten, but base.CanHover(interactable) should be called to ensure correct behavior.
CanSelect(IXRSelectInteractable) Determines if a XRGrabInteractable can be selected, i.e. is considered a valid target.
Can be overwritten, but base.CanSelect(interactable) should be called to ensure correct behavior.
⚠️ **GitHub.com Fallback** ⚠️