GetRemovedGameObjects(GameObject)
Returns a list of objects with information about removed GameObject overrides on the Prefab instance.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static List<RemovedGameObject> GetRemovedGameObjects(GameObject prefabInstance)
Parameters
The Prefab instance to get information about.
Returns
Type | Description |
|---|---|
| List<RemovedGameObject> | List of objects with information about removed GameObjects. |
Remarks
Additional Resources: PrefabUtility.ApplyRemovedGameObject, PrefabUtility.RevertRemovedGameObject.