This version of Unity is unsupported.

PrefabUtility.GetPrefabInstanceStatus

Declaration

public static PrefabInstanceStatus GetPrefabInstanceStatus(Object componentOrGameObject);

Parameters

componentOrGameObject An object that is part of a Prefab instance.

Returns

PrefabInstanceStatus The status of the Prefab instance.

Description

Enum value with status about whether a Prefab instance is properly connected to its asset.