7

寻找这样的方法或库:

GameObject nextBrotherNode= gameObject.transform.getNextSibling();
4

1 回答 1

12

你的意思是

int index = transform.GetSiblingIndex();
GameObject nextBrotherNode = transform.parent.GetChild(index + 1).gameObject;
于 2014-12-09T22:21:50.440 回答