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 …
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.