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

How to change hierarchy order in layout groups through code

$
0
0
I need to be able to change the order of objects in layout groups dynamically. I can change the hierarchy order in the editor while the game runs and the group updates them fine, but I can't figure out how to do this through code.
I know that hierarchy works with transform z position but in a group the transform of the child objects is driven by the group, and they all have z at 0 anyway...

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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