IsPrefabAssetMissing(Object)
Returns true if the given object is part of a Prefab instance but the source asset is missing.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
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. |