oculus-samples / Unity-TheWorldBeyond

Presence Platform showcase demonstrating usage of Scene, Passthrough, Interaction, Voice, and Spatializer. The Oculus SDK and other supporting material is subject to the Oculus proprietary license. Multiple licenses may apply.
Other
306 stars 83 forks source link

Voice Functions #12

Closed owlandfox closed 9 months ago

owlandfox commented 12 months ago

On opening the world scene it looks like the functions to activate the Voice functions are missing? There are no Focus change events or response events included on the Wit Connector. The Wit configuration is missing completely. I understand you may require us to setup our own Wit configuration as per the docs but it would be great to get some guidance of how to connect the focus change events and response events in Unity and in Wit as it is this Voice SDK related features that I am most interested in in this project. Thanks

PanyaMeta commented 11 months ago

Hello @owlandfox The Focus Change events are added in code when the game starts, so the Inspector list is empty. You can see how this is done in its OnEnable method. We have omitted the Wit config from the project, but this setup guide should help!