文档

Unity Engine

Unity Engine

DisconnectedPrefabInstance

The object is an instance of a user created Prefab, but the connection is broken.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
警告
Deprecated. PrefabType.DisconnectedPrefabInstance has been deprecated and is not used. Prefabs can not be in a disconnected state.
DisconnectedPrefabInstance = 6

Remarks

For example, adding or removing a component from the instance breaks connection between the instance and the Prefab. Additional Resources: PrefabUtility.GetPrefabType.