GetRemovedGameObjects(GameObject)
Returns a list of objects with information about removed GameObject overrides on the Prefab instance.
阅读时间1 分钟最后更新于 1 个月前
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.