文档

Unity Engine

Unity Engine

GetAddedGameObjects(GameObject)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.