Documentation

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.
Read time 1 minuteLast updated 6 days ago

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.