标签: unity3d nextsibling
查找类似的方法或库:
GameObject nextBrotherNode= gameObject.transform.getNextSibling();
答案 0 :(得分:10)
你的意思是
int index = transform.GetSiblingIndex(); GameObject nextBrotherNode = transform.parent.GetChild(index + 1).gameObject;