Forum Discussion
Jepplen
1 year agoExpert Protege
RayInteractor -> Data (Optional field)
Hello,
I'm working on pointer events and the RayInteractor -> Data field seems to be exactly what I need.
Reading the helper text gives me the impression that I can assign the current eventData to the RayInteractor to identify and match an event with the RayInteractor. Which is what I want.
But i'm not understanding how to utilize this Data field.
It only takes an Object, meaning it can be pretty much anything from a sprite to a gameobject and I don't see how that works.
The documentation doesn't tell me much, perhaps someone understands it better than me.
https://developer.oculus.com/reference/unity/v67/class_oculus_interaction_ray_interactor/
Does anyone have an idea?
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 months ago
- 8 years ago