GetPrefabType(Object)
Given an object, returns its Prefab type (None, if it's not a Prefab).
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static PrefabType GetPrefabType(Object target)
Parameters
Returns
Type | Description |
|---|---|
| PrefabType |
Remarks
Additional Resources: The PrefabType enumeration for information on the possible return values.