Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DisconnectedPrefabInstance

The object is an instance of a user created Prefab, but the connection is broken.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
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.