Quantcast
Channel: User Sinatr - Stack Overflow
Viewing all articles
Browse latest Browse all 376

Comment by Sinatr on Drawing a bounding box around UI Elements in Unity

$
0
0
For operations like this you don't want to have raw unprocessed images at hand. I am not sure if converting image to Sprite can help you. I guess sprites are designed for stuff like this, to perform more accurate hit-testing and not just by using rectangular bounds. But at least it should be possible to attach your own script, which run once to build shape and then you can to example use raycast to find bounds of transformed objects).

Viewing all articles
Browse latest Browse all 376

Trending Articles



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