This version of Unity is unsupported.

PrefabUtility.GetAddedGameObjects

Declaration

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

Parameters

prefabInstance The 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.