Taping in UnityIphone. URGENT!

hi, i need help! im making a simple game were when you tap a object it does somthing. i just need a simple tap script. or tap count. i need somthing that says like:

if (tapping){Audio.Play}

somthing like that just a plain old tap script.

Pls help! pls pls pls pls pls!

Thanks guys! your the best!

I don't have the exact answer for your but I hope this helps. I'm not sure what you plan to write this in, but you could use the EventType.MouseDown and then use something like if game object is equal to something play sound. If you are not sure how to use these classes look at the scripting reference page: http://unity3d.com/support/documentation/ScriptReference/index.html

These links might give you a clue.

http://answers.unity3d.com/questions/12923/flick-determines-velocity

http://unity3d.com/support/documentation/ScriptReference/AudioSource.PlayOneShot.html