Forum Discussion
Abstron
2 years agoHonored Guest
Interacting with Canvas Buttons in Unity using All-in-One XR SDK for Oculus: Seeking Solutions
I recently updated my Unity project using the Oculus Integration package to the All-in-One XR SDK for Oculus. However, I've encountered a challenge regarding interacting with canvas buttons within my VR environment.
Previously, I utilized the UIHelper component from the Oculus Integration package to easily interact with canvas buttons using the Oculus Touch controllers. However, it seems that the UIHelper component is not available in the All-in-One XR SDK.
I'm now seeking guidance on how to achieve similar functionality with the All-in-One XR SDK. Specifically, I need to know how to enable users to interact with canvas buttons using their Oculus Touch controllers in a VR environment.
If anyone has experience or suggestions on how to accomplish this transition or any alternative methods to achieve similar functionality within the All-in-One XR SDK, I would greatly appreciate your insights. Whether it involves scripting, new components, or different approaches altogether, any assistance would be invaluable.
Thank you all for your time and expertise!
1 Reply
Replies have been turned off for this discussion
- dexum11Protege
You can add ray and poke interactions for canvas buttons using the Interaction SDK included in the All-in-One SDK. Here is a page with steps on setting this up: https://developer.oculus.com/documentation/unity/unity-isdk-quick-actions/. Use the "Add Ray Interaction to Canvas" and "Add Poke Interaction to Canvas" options in the ISDK Quick Actions menu.
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