Version: 2022.3

PrefabUtility.GetAddedComponents

切换到手册
public static List<AddedComponent> GetAddedComponents (GameObject prefabInstance);

参数

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

返回

List<AddedComponent> 对象的列表,其中包含有关已添加组件的信息。

描述

Retrieves a list of PrefabUtility.AddedComponent objects which contain information about added component overrides on the Prefab instance.


Did you find this page useful? Please give it a rating: