Hi,
I’m making a game, and my idea was that you have to touch to start and if you release you die, but I am very new to unity and eerything and i don’t know how to make touch controls …
Can somebody help me?
Thanks Sam
Hi,
I’m making a game, and my idea was that you have to touch to start and if you release you die, but I am very new to unity and eerything and i don’t know how to make touch controls …
Can somebody help me?
Thanks Sam
This is something that you can google and find many examples and tutorials. Just search “unity touch controls”.
Here’s the documentation for getting the state of a screen touch, check out the example code for how to use it:
You will want to check if the touch phase is “Began”, and “Ended”:
Thanks, i didn’t know how to google it!