GetAddedComponents(GameObject)
Retrieves a list of AddedComponent objects which contain information about added component overrides on the Prefab instance.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static List<AddedComponent> GetAddedComponents(GameObject prefabInstance)
Parameters
The Prefab instance to get information about.
Returns
Type | Description |
|---|---|
| List<AddedComponent> | List of objects with information about added components. |