trophy 0
May 2025 34 posts
Sandbox.GameObject.GetNextSibling : api/Sandbox.GameObject/GetNextSibling
trophy 25
Jul 2024 8 posts
Note that the ordering of Children is not guaranteed, especially with regards to networking.

Do not write code which relies on this method being the same order on different clients. If you need to keep track of the proper order of some GameObjects, use something like a NetList<GameObject> property managed by one client.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.