C
C
Chiff2021-03-28 00:58:38
Unity
Chiff, 2021-03-28 00:58:38

How to bind buttons on Canvas to new input System Unity3D?

I'm trying to figure out the new Input system. With the processing of the keyboard, mouse, gamepad, a lot of videos, but I can’t figure out how to bind ui buttons with canvas to this system.
I added keyboard and gamepad schemes to Actions, I tried to add a touchscreen, but how to bind it to ui is also unclear.
605fa8e0428e4029531328.png
I added the Input System UI Input Manager to the Canvas, but I didn't get the expected result, the buttons on the canvas don't work. I tried to cling to the Input System UI Input Manager buttons, the result is the same.
605fa9a980c78559326571.png
I also threw canvas into the Player Input in the UI Input Module field, which also did not help.
605faa8a0648d477463048.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Bogdan Erolskiy, 2021-03-28
@B-Erolskiy

May be missing Graphic Raycaster on canvas

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question