Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PrefabType.DisconnectedPrefabInstance

Switch to Manual

Description

The object is an instance of a user created prefab, but the connection is broken.

For example, adding or removing a component from the instance breaks connection between the instance and the prefab. See Also: EditorUtility.GetPrefabType.