Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Detect selection via touch or mouse click on a GameObject/Sprite?

$
0
0
Hi. I've been searching and watching some of the new 4.6 videos, etc. It isn't clear to me what the best way to handle this is.

Put simply, I am going to have a few 2D sprite objects on the screen. I want to create a unified way of determining if a character is either clicked (mouse) or touched/tapped regardless of whether it is running on a tablet or on a PC/Mac.

Can someone point me in the right direction? Not asking for anyone to do my homework for me.

Thanks!

Viewing all articles
Browse latest Browse all 1466670

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>