Version: 2021.2
언어: 한국어

PrefabUtility.IsPartOfNonAssetPrefabInstance

매뉴얼로 전환
public static bool IsPartOfNonAssetPrefabInstance (Object componentOrGameObject);

파라미터

componentOrGameObject The object to check. Must be a component or GameObject.

반환

bool True if the object is part of a Prefab instance that's not inside a Prefab Asset.

설명

Returns true if the given object is part of a Prefab instance and not part of an asset.

Will return true even if the Prefab Asset is missing for the Prefab instance.