PrefabAssetType
Enum indicating the type of Prefab Asset, such as Regular, Model and Variant.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor
public enum PrefabAssetType
Remarks
For an object on a Prefab Asset, the asset itself is checked. For an object on a Prefab instance, its corresponding asset is checked.
Fields
Value | Description |
|---|---|
| MissingAsset | The object being queried is part of a Prefab instance, but because the asset is missing the actual type of Prefab can’t be determined. |
| Model | The object being queried is part of a Model Prefab. |
| NotAPrefab | The object being queried is not part of a Prefab at all. |
| Regular | The object being queried is part of a regular Prefab. |
| Variant | The object being queried is part of a Prefab Variant. |