Version: 2017.2

PrefabType

enumeration

Switch to Manual

Description

The type of a prefab object as returned by PrefabUtility.GetPrefabType.

Variables

NoneThe object is not a prefab nor an instance of a prefab.
PrefabThe object is a user created prefab asset.
ModelPrefabThe object is an imported 3D model asset.
PrefabInstanceThe object is an instance of a user created prefab.
ModelPrefabInstanceThe object is an instance of an imported 3D model.
MissingPrefabInstanceThe object was an instance of a prefab, but the original prefab could not be found.
DisconnectedPrefabInstanceThe object is an instance of a user created prefab, but the connection is broken.
DisconnectedModelPrefabInstanceThe object is an instance of an imported 3D model, but the connection is broken.