Forum Discussion
MetaDevXR
2 years agoProtege
Simple UI interaction using the new all-in-one SDK [SOLVED]
I am new to Quest development and have no prior experience with the now deprecated SDKs. I am rapid prototyping a simple training concept demo using Meta's new all-in-one SDK. Overall, it seems pr...
- 2 years ago
Welp, turns out it's a lot easier than I thought it would be to make this work. I think I over complicated the script assignments on the EventSystem and Canvas objects while testing out several different examples from older YT tutorials and other places. My canvas script setup became messy and over complicated. Even though I had no errors in the consol, I suspect there were conflicts somewhere or incorrect script references assigned. I finally found this page that showed how to simply add ray interactions to the canvas via Meta's handy right-click menu tool. [Right-click] -> [Interaction SDK] -> [Add Ray Interaction To Canvas].
Add an Interaction with QuickActions | Oculus Developers
So, I created an empty scene to see what would be added to the canvas GameObject for comparison. The structure and script assignments were much simpler than what I had. When I went back to my demo scene and created a new canvas and used this tool, I could finally get a hover/press response from the button. Thankfully all the controller ray interactors were already set correctly, and I didn't have to clean anything up in that department.
Big_Flex
2 years agoMeta Employee
I'm glad you figured this out! You mentioned having a UI menu on the left wrist. If you need help getting the wrist position, you can check the left wrist bone position with the Get Hand Bone Position tutorial.
- MetaDevXR2 years agoProtege
Thank you for the link. I absolutely needed this.
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
- 2 years ago