B
B
Bruh_Bruh2020-08-28 08:17:27
Unity
Bruh_Bruh, 2020-08-28 08:17:27

Unity work with touch?

Hello, I want to make a jump by clicking on the screen. I tried using a transparent button to full screen, but this is not an option, since the character jumps with a delay, which greatly interferes with the gameplay. Then I did it through OnMouseButtonDown(), but this is also a bit different, because when the pause menu is pressed, the character jumps, which, as a result, can also affect the gameplay. As a result, I came to the conclusion that you can make a jump over wheelbarrows, etc., but I don’t know how, I tried to figure it out, but it didn’t work out very well. I want to ask how you can designate the area of ​​\u200b\u200bthe wheelbarrow, and / or can it be limited?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DanielMcRon, 2020-08-28
@DanielMcRon

There are many guides that I have found now.
link to sample code
If you read more documentation, it will become clearer even more. If necessary, I will add more links to guides and videos (in case you didn’t find it)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question