Understanding Unity Button Operations

Asked 2 years ago, Updated 2 years ago, 44 views

I use unity to create an iPhone app. Also, I want to move and jump characters using buttons. When I put the button between the two fingers and touched it, the button between the two fingers seems to have been touched even though it was not touched. Similarly, if you touch the right button and the left button at the same time, you will touch the middle button. I don't know what to do.Please give me some advice.

unity3d

2022-09-29 22:12

2 Answers

Facebook "Unity User Help Center" has received a lot of comments. https://www.facebook.com/groups/unityuserj/permalink/808266705899938/

The GUI does not support multi-touch, so if you want to support simultaneous touch, use Input.touches.


2022-09-29 22:12

Let's use this. Script Reference:Touch

I think it will be easy to manage with fingerId of Touch.


2022-09-29 22:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.