-
-
Notifications
You must be signed in to change notification settings - Fork 2
Object Check Socket Interactor
eisclimber edited this page Feb 11, 2024
·
2 revisions
class in ExPresSXR.Interaction / Extends class in ExPresSXR.Interaction.HighlightableSocketInteractor
GameObject instantiable via ExPresS XR/Tag Check Socket Interactor
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.
-
string targetObject
: The tag that is required to be accepted. An empty string astargetObject
will match the "Untagged"-tag.
-
bool CanHover(IXRHoverInteractable interactable)
: Determines if aXRGrabInteractable
can hover, e.g. is considered a valid target. Can be overwritten butbase.CanHover(interactable)
should be called to ensure correct behavior. -
bool CanSelect(IXRSelectInteractable interactable)
: Determines if aXRGrabInteractable
can be selected, e.g. is considered a valid target. Can be overwritten butbase.CanSelect(interactable)
should be called to ensure correct behavior. -
bool IsObjectMatch(IXRInteractable interactable)
: Checks if the tag of the interactable matches thetargetObject
. Can be overwritten butbase.IsObjectMatch(interactable)
should be called to ensure correct behavior.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI