IsPrefabAssetMissing(Object)
Returns true if the given object is part of a Prefab instance but the source asset is missing.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool IsPrefabAssetMissing(Object instanceComponentOrGameObject)
Parameters
The object to check. Must be a component or GameObject.
Returns
Type | Description |
|---|---|
| bool | True if the given object is part of a Prefab instance but the source asset is missing. |