Unity查找自身为第几个子物体(Index)

int id = self.GetSiblingIndex();

猜你喜欢

转载自blog.csdn.net/n_moling/article/details/94717877