Sandbox.GameObject.GetNextSibling

Started by Bot ยท one year ago ยท 1 reply ยท 328 views

Bot
Member
JoinedMay 2025 Posts349 Score0
Sandbox.GameObject.GetNextSibling : api/Sandbox.GameObject/GetNextSibling
nixx
Member
JoinedJul 2024 Posts23 Score215
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.