Skip to content

Tag Check Socket Interactor

eisclimber edited this page Jan 18, 2024 · 1 revision

Tag Check Socket Interactor

class in ExPresSXR.Interaction / Extends class in ExPresSXR.Interaction.HighlightableSocketInteractor
GameObject instantiable via ExPresS XR/Tag Check Socket Interactor

Description

An Expansion of the HighlightableSocketInteractor to restrict access to GameObjects with the tag specified by targetTag. This allows a set of multiple Object to be a valid target.

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

Members

Public Properties

  • string targetTag: The tag that is required to be accepted. An empty string as targetTag will match the "Untagged"-tag.

Inherited Members

Static Methods

  • bool CanHover(IXRHoverInteractable interactable): Determines if a XRGrabInteractable can hover, e.g. is considered a valid target. Can be overwritten but base.CanHover(interactable) should be called to ensure correct behavior.
  • bool CanSelect(IXRSelectInteractable interactable): Determines if a XRGrabInteractable can be selected, e.g. is considered a valid target. Can be overwritten but base.CanSelect(interactable) should be called to ensure correct behavior.
  • bool IsTagMatch(IXRInteractable interactable): Checks if the tag of the interactable matches the targetTag. Can be overwritten but base.IsTagMatch(interactable) should be called to ensure correct behavior.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally