PrefabType
The type of a Prefab object as returned by PrefabUtility.GetPrefabType.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public enum PrefabType
Fields
Value | Description |
|---|---|
| MissingPrefabInstance | The object was an instance of a Prefab, but the original Prefab could not be found. |
| ModelPrefab | The object is an imported 3D model asset. |
| ModelPrefabInstance | The object is an instance of an imported 3D model. |
| None | The object is not a Prefab nor an instance of a Prefab. |
| Prefab | The object is a user created Prefab asset. |
| PrefabInstance | The object is an instance of a user created Prefab. |