Forum Discussion
MetaDevXR
1 year 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...
- 1 year 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.
MetaDevXR
1 year agoProtege
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.
- soapantelope1 year agoHonored Guest
Thank you so much for this!!! Omg
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