Skip to content

objectchecksocketinteractor

eisclimber edited this page Apr 4, 2026 · 1 revision

ObjectCheckSocketInteractor

Class in ExPresSXR.Interaction.Interactors

Inherits from HighlightableSocketInteractor

Summary

An Expansion of the HighlightableSocketInteractor to restrict access to a single GameObject specified by targetObject. This allows to check if a special Object was placed in the socket using the OnSelectEntered-Event.

public class ObjectCheckSocketInteractor : 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.

Properties

Name Description
TargetObject Object the socket accepts.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally