Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnityEvents #163

Open
khalv opened this issue Oct 20, 2017 · 0 comments
Open

UnityEvents #163

khalv opened this issue Oct 20, 2017 · 0 comments

Comments

@khalv
Copy link

khalv commented Oct 20, 2017

NVRInteractable has BeginInteraction and EndInteraction methods, but despite this, OnInteractionStart and OnInteractionEnd only exist in the NVRInteractableItem class.... so you can't have a common behavior for an NVRInteractableRotator and an NVRInteractableItem without re-implementing the events in the rotator class. Also, NVRInteractableItem has an OnHovering event (called every frame) but not an OnBeginHover/OnEndHover event. What if you want to trigger a visual outline to an object when hovering over it? It's a mess. Also, it would be nice if the interaction events were of type UnityEvent<NVRHand>, passing a reference of the interacting hand. Would make it easier to trigger haptic pulses (if they would work).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant