- Home /
Getting stretched image UI object bounding rect/size?
I have a UI Image object which is stretched with layout element component. However I can't get the real rectangle bounds/size of the sprite.Neither sizeDelta nor rect.width/hight give me the correct result of the UI element. Does anybody have an idea how the sizes be retrieved?
untitled-1.png
(127.1 kB)
Comment
Your answer

Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Simple jump code 2D - c# 1 Answer
The player randomly freezes in place while other objects move ingame 1 Answer
Delete Tiles Outside of Tile Map 0 Answers