To set up a touch button,
- Go to Plugins/ConvAI/Widgets/ and open Chat_WB. Create a button as shown in the screenshot below.
-
Then, go to Plugins/ConvAI/Core/ and open ConvaiBasePlayer.
-
From the ChatWB reference, get the reference to the button you created (e.g., Get Btn Mic). Use AssignOnPressed and AssignOnReleased events to link them, as shown in the screenshot. This will make your button functional.
I hope this is clear and helpful. If you need further assistance, feel free to ask!
Note: Since these changes are made in the plugin files, they will affect any new or existing projects using Convai Plugin.