Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Positions of UI Elements under Vertical Layout Group

$
0
0
Ok,
I have a canvas in world space. And i have a ui element with Vertical layout group on it.
now there are 5 Buttons under the vertical layout.

Now if i access their position using RectTransform.position, all buttons have same position values which is lower left corner of the vertical layout group! Is this a bug or am i doing something wrong?

Please help, Thank you!

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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