I was wondering, how can i play a sound when I touch a GUI texture, but in IOS.
for instance, imagine you have a gui texture, and when you press it a sound comes from an audio source near you, how can i do that?
Thanks!
Figure out if the user has touched the screen:
If the user has made a touch, figure out if they have touched on the GUITexture:
If the GUITexure has bee touched, play a sound: