PvTGreg
1
Hi have a slider which i controller by the player he can slide it up and down the value of the slider is taken and turned into movement for an object
i also have a script which instantiate balls with force when you tap the screen why can i tap the screen while the slider is held down
You need to have the system ignore touches on UI elements.
I have created a little demo project for you, it should work well.
Try this link: www.vandrice.co.uk/DoubleTouch.rar
You’ll need to program your own Input Manager (I assume you’re doing some OnMouseDrag()).
Check out the following classes:
Touch
Input
They provide you with: How many fingers are touching, which finger is which touch right now, in which state is it in and so on…