Version: 2019.1

PrefabUtility.GetAddedGameObjects

Switch to Manual
public static List<AddedGameObject> GetAddedGameObjects (GameObject prefabInstance);

Parameters

prefabInstanceThe Prefab instance to get information about.

Returns

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

Description

Returns a list of PrefabUtility.AddedGameObject objects which contain information about added GameObjects on the Prefab instance.