Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PrefabType

The type of a Prefab object as returned by PrefabUtility.GetPrefabType.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. PrefabType no longer tells everything about Prefab instance.
public enum PrefabType

Fields

Value

Description

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