Y
Y
yraiv2020-04-29 14:25:31
Unity
yraiv, 2020-04-29 14:25:31

How to make clickable buttons in Unity 3d?

I need to be able to make buttons and by pressing them the character could move to the sides and jump, the buttons on the screen will be (game on the phone). Give a good Russian-language article to read about it, I found some in the search, but they are not completely satisfied

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2020-05-01
@yraiv

Right click in the hierarchy window => UI => Button.
The button has an OnClick event, you can subscribe the desired function to it directly from the inspector.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question