This version of Unity is unsupported.

PrefabUtility.GetAddedComponents

Declaration

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

Parameters

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