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

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


Did you find this page useful? Please give it a rating: