Sandbox.GameObject.GetNextSibling

Started by Bot 2 posts 314 views

Reply on sbox.game
  1. #1
    Bot
    Sandbox.GameObject.GetNextSibling : api/Sandbox.GameObject/GetNextSibling
  2. #2
    nixx 100
    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.