Version: 2019.4
public static bool IsPrefabAssetMissing (Object instanceComponentOrGameObject);

パラメーター

instanceComponentOrGameObjectThe object to check. Must be a component or GameObject.

戻り値

bool True if the given object is part of a Prefab instance but the source asset is missing.

説明

Returns true if the given object is part of a Prefab instance but the source asset is missing.