Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

PrefabType

enumeration

Description

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

Properties

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.

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