Question by
LuckierBread · Sep 04, 2016 at 03:50 AM ·
uitouchtouch controls
Script to run on tap, exempt in area.
Hi everyone,
I have a game for mobile that uses a script that says whenever you tap the screen the player changes color. I added a pause button to the game through the hierarchy/Create/UI/Button option.
The issue i am having is that when the player taps the pause button the characters color still changes. is there a way to check if the touch is a particular area?
Thanks in advance for any help.
Comment
Your answer
Follow this Question
Related Questions
UI blocking 0 Answers
UI buttons sometimes does not detect touch 0 Answers
how to make touch to press a key 0 Answers
When applying a force to an object on Touch, how do I add a *cooldown* to it? 2 Answers
How to separate a Tap from a Swipe? 0 Answers