文档

Unity Engine

Unity Engine

GetPrefabInstanceStatus(Object)

Determines whether a Prefab instance is properly connected to its asset.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static PrefabInstanceStatus GetPrefabInstanceStatus(Object componentOrGameObject)

Parameters

componentOrGameObject

An object that is part of a Prefab instance.

Returns

Type

Description

PrefabInstanceStatusThe status of the Prefab instance.