How can I use an onclick using coordinates?
Is there a way to use coordinates for an onclick function? I want to have a picture to have multiple functions (multiple onclicks) and I want to use particular coordinates for those onclicks.
For example, the picture has the coordinate 400, 400 and is 200 px/200px. Then the coordinates of 100px/100px to 125px/125px does something. And the coordinates of 150px/150px to 175px/175px does something.
Or is there a better way to achieve what I'm trying to do here?
Your answer

Follow this Question
Related Questions
hi guys who can help me?(i am a persian boy so ... Readable plzz) 1 Answer
When handle method has parameters, Button.onClick.RemoveListener don't work 1 Answer
GUI button not responding through script reference? 0 Answers
Button AddListener - pass in a UnityAction 0 Answers
gameObject.transform.position not working properly 0 Answers