Method group is Obsolete

PrefabUtility.GetPrefabType

Obsolete Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.

Declaration

public static PrefabType GetPrefabType(Object target);

Description

Given an object, returns its Prefab type (None, if it's not a Prefab).

Additional resources: The PrefabType enumeration for information on the possible return values.


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