기술 자료

Unity Engine

Unity Engine

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

instanceComponentOrGameObject

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

Returns

Type

Description

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