文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetAddedGameObjects(GameObject)

Retrieves a list of AddedGameObject objects which contain information about added GameObjects on the Prefab instance.
阅读时间1 分钟最后更新于 25 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static List<AddedGameObject> GetAddedGameObjects(GameObject prefabInstance)

Parameters

prefabInstance

The Prefab instance to get information about.

Returns

Type

Description

List<AddedGameObject>List of objects with information about added GameObjects.