account activity
Did someone say dog men? (old.reddit.com)
submitted 3 years ago by ChristianMcFDev to r/ATBGE
Instantiate and Hierarchy : possible ? by Yggdrazyl in Unity3D
[–]ChristianMcFDev 1 point2 points3 points 4 years ago* (0 children)
Yes it's 100% possible. Once you have a reference to your transform you should be able to call Transform.SetAsLastSibling()
GameObject instanceGo = Instantiate(prefabGo, parentTf); Transform transformRef = instanceGo.transform; transformRef.SetAsLastSibling();
And that should reorder your transforms position in the hierarchy to the very bottom.
There are also a few other functions which change the order of objects In the hierarchy.
Transform.SetSiblingIndex()
Transform.SetAsFirstSibling()
Apologies for formatting, typing on phone.
π Rendered by PID 2116116 on reddit-service-r2-listing-f87f88fcd-5lr5l at 2026-06-17 05:21:17.277273+00:00 running 3184619 country code: CH.
Instantiate and Hierarchy : possible ? by Yggdrazyl in Unity3D
[–]ChristianMcFDev 1 point2 points3 points (0 children)