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

How do I get the texture coordinates of an image clicked on?

$
0
0
So I have an Image component using the new UI.

And I have a Pointer Down event on it which calls a function. Now I need to get the exact color of the pixel that the user clicked on?

Is there a specific way of doing this for the new UI?

BTW it is for my colour picker:

View attachment 123900

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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