Version: 2022.3

PrefabUtility.GetRemovedGameObjects

切换到手册
public static List<RemovedGameObject> GetRemovedGameObjects (GameObject prefabInstance);

参数

prefabInstance 要了解其相关信息的预制件实例。

返回

List<RemovedGameObject> List of objects with information about removed GameObjects.

描述

Returns a list of objects with information about removed GameObject overrides on the Prefab instance.