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?415Views0likes0Comments