- Home /
Question by
abuelitovip · Nov 26, 2017 at 02:13 PM ·
c#unity 2dmouseclickgamepadxbox controller
Adapt OnMouseDown to control with Gamepad?
Hello
I have a 2D game that contains about 90 GameObjects with the same script, when using OnMouseDown it works perfectly for me to respond separately, but if I try to use Fire1 to detect the pulsation, the 90 GameObjects are executed at the same time.
I'm trying to adapt the game to control it on Xbox One (UWP). Do you know any way to make Fire1 only affect the object that is below? How can I control it like the Xbox One browser where an arrow appears and recognize mouse clicks on the web pages but adjusting it to my game? My game testing
a greeting
Comment