- Home /
Question by
vigneshplays · Sep 15, 2012 at 02:23 PM ·
audiotouchplay3dobject
play audio on touch
hi... i am new to scripting....i have a 3d object in my project(android) i want an audio should be played only when the object is touched...i cant find touch scripting please someone help me .....
Comment
Answer by Owen-Reynolds · Sep 15, 2012 at 03:38 PM
Try an internet search for "Unity Touch Input." It links right to the Unity manual.
To select a 3D object in a scene with a camera, look at Raycasting and `Camera.ScreenToWorld`. They can be used to figure out what your finger is on top of in the game world. Many Qs and As here about that.
Your answer
![](https://koobas.hobune.stream/wayback/20220613081055im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Play Oneshot Audio On Touch 0 Answers
touch the object to play an audio 1 Answer
Guys i need help with audio! 0 Answers
Audio clip not playing 1 Answer
Music On/Off Switch 2 Answers