-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I've been experimenting with a flexible simple to understand system for both interactive elements in a scene, and scripts attached to the controllers themselves, getting notification of pointer events.
By having a LaserPointerEventData which inherits from PointerEventData, but adds the current object, we can execute the event on both the controller and the raycast target hit. Here's a UML sequence diagram, the change is in red.
https://docs.google.com/drawings/d/1PJHluA771l2r_YbolvIAVGECPJEEyEGNa29X97QOlWg/edit?usp=sharing
Metadata
Metadata
Assignees
Labels
No labels