Version: 2019.1
public static List<AddedComponent> GetAddedComponents (GameObject prefabInstance);

Parameters

prefabInstanceThe Prefab instance to get information about.

Returns

List<AddedComponent> List of objects with information about added components.

Description

Returns a list of PrefabUtility.AddedComponent objects which contain information about added component overrides on the Prefab instance.