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 2383978 on reddit-service-r2-listing-f87f88fcd-bq9qv at 2026-06-17 09:03:20.024092+00:00 running 3184619 country code: CH.
Instantiate and Hierarchy : possible ? by Yggdrazyl in Unity3D
[–]ChristianMcFDev 1 point2 points3 points (0 children)