V
V
Void592021-10-21 20:21:17
Android
Void59, 2021-10-21 20:21:17

How to get touch position in Unity?

Hello!
I'm trying to make an android game. The character in it must move to the touch point on the screen. Only bad luck: when checking exactly where in the game space Unity sees a touch, I saw coordinates with very large numbers. Using WorldToScreenPoint didn't help either. What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pudios, 2021-10-22
@Pudios

https://learn.unity.com/tutorial/touch-input-for-m...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question