chengnay Posted August 8, 2019 Share Posted August 8, 2019 Dear author I have some problems,when i learn VIU. you know we can get the button press event when the ray or hand enter some one gameobject. but how can i get which hand ? can you give me a example . thanks!! Link to comment Share on other sites More sharing options...
chengnay Posted August 8, 2019 Author Share Posted August 8, 2019 Using example scene (UGUI), By adding MyPointerEventHandler.cs to Button, when user hovers and presses on button by using trigger button, it will show log telling which hand is pressing. MyPointerEventHandler.cs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now