Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
寻找这样的方法或库:
GameObject nextBrotherNode= gameObject.transform.getNextSibling();
你的意思是
int index = transform.GetSiblingIndex(); GameObject nextBrotherNode = transform.parent.GetChild(index + 1).gameObject;