- Home /
Question by
JACKARY · Mar 18, 2016 at 12:47 PM ·
prefabinputmultitouchinput.touchgetmousebuttondown
Using Multiple Prefabs with Multiouch
I have 8 prefabs that instantiate objects constantly into the scene. Users are required to tap on the objects to destroy them. What I need is to use Input.GetMouseButtonDown in the Update function; I understand this. What I don't understand is how to effectively differentiate between 8 different prefabs and then also differentiate between their separate instantiations to determine which exact one the user has actually tapped on.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612072248im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Problem with multi-touch from android 1 Answer
How to click within a game objects collider? 0 Answers
Input.GetTouch SOMETIMES not registering on iOS 0 Answers
multiTouch problem when fingers close together (Bug?) 1 Answer
Touch input in browsers 0 Answers