Add Unity WebGL On Talk button

Original Discord Post by or_rmo | 2024-07-25 07:34:38

I would like to add a mouse button click instead of the keyboard “T” button for speaking input.
Could you please tell me how?

Reply by k3kalinix | 2024-07-25 07:35:24

Hello <@684027455433998381> :wave:t2:

Reply by k3kalinix | 2024-07-25 07:37:05

In New Input System asset,
Add a new input to Talk input.

Reply by or_rmo | 2024-07-25 07:47:09

Can I add a new input here?

Images:

Reply by k3kalinix | 2024-07-25 07:48:13

No not here.
It is in the Assets/Convai/Resources

Reply by k3kalinix | 2024-07-25 07:50:41

Controls.inputactions

Reply by or_rmo | 2024-07-25 07:57:32

Should I add it here?
If you add it here, when you run it, the microphone will stay on as long as the mouse is on the screen…

Images:

Reply by or_rmo | 2024-07-25 08:01:31

<@1023671043287699568>

Reply by k3kalinix | 2024-07-25 08:37:47

What do you mean?

Reply by or_rmo | 2024-07-25 08:42:30

An error appears every time I click the mouse on the screen.

Images:

Reply by k3kalinix | 2024-07-25 08:42:53

You have to build.

Reply by or_rmo | 2024-07-25 08:58:08

https://www.onevents.co.kr/cc_test3/

Reply by or_rmo | 2024-07-25 08:59:33

If you want to activate it by pressing the middle button, you can input it no matter where you click…

Images:

Reply by k3kalinix | 2024-07-25 09:11:48

It works as expected.

Reply by k3kalinix | 2024-07-25 09:12:10

I would like to add a mouse button click instead of the keyboard “T” button for speaking input.
I mean it works as you said.

Reply by or_rmo | 2024-07-25 09:14:20

I want to activate it only when the center UI is clicked, but it can be activated by clicking anywhere…

Reply by k3kalinix | 2024-07-25 09:16:17

You just want to press the UI button to talk?

Reply by or_rmo | 2024-07-25 09:17:00

Yes, it is.

Reply by k3kalinix | 2024-07-25 09:17:10

Ohh, then please remove these changes.

Reply by k3kalinix | 2024-07-25 09:17:13

You explained it wrongly.