Version: 2019.1

PrefabUtility.GetPrefabInstanceStatus

Switch to Manual
public static PrefabInstanceStatus GetPrefabInstanceStatus (Object componentOrGameObject);

Parameters

componentOrGameObjectAn 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.