foreach (Transform child in transform)
{
Debug.Log(child.gameObject.name);
}
转自:http://blog.youkuaiyun.com/m_leonwang/article/details/38822455
foreach (Transform child in transform)
{
Debug.Log(child.gameObject.name);
}
转自:http://blog.youkuaiyun.com/m_leonwang/article/details/38822455