枚举u3d中GameObject的办法 枚举u3d中GameObject的办法 foreach(Transform childT in gameobject.transform) { childT.gameobject }