Adding buttons for reload and exit

Hello. I tried to add two buttons: for reloading the scene and for game exit. But adding On Click with the methods does not work because of the New Input System. How can I make the On Click work?

The buttons should work just fine with the new input system.
Do you have an EventSystem in your scene?
Have you clicked the button on the EventSystem to convert the input hhandler to the new system? It should look like this:

Now it works! Thank you!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms