Can someone please give me an example of a touch control script that works,
I’ve tried the sample Input.GetTouch and it doesn’t work,
-
Can someone please provide me a working touch player control script that:
a. when the player taps the screen the player object moves towards that direction for a certain distance
b. also set a rate of tapping so they cannot spam the movement
c. call a sprite when the screen is touched e.g. the rocket will show a thrusting flare if the screen is touched to represent movement -
How do I test this is unity game scene preview since I cannot use touch, How do i set my mouse left click to represent touch.
I am still in the learning phase of C# it would be really helpful and appreciated any one provide me a sample script for me to work on.
This is a 2D game!
Cheers,
Tony