Quantcast
Viewing all articles
Browse latest Browse all 60

Answer by Narv

Is this 2d or 3d? also, place an collided in each key object and a script that on the update function checks the input.tocuhes. Then raycast on touch using camera.main.screenpointtoray and see what collided it hits. Then based on which one it hits, play a sound or whatever it is you wish to do.

Viewing all articles
Browse latest Browse all 60

Trending Articles