Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

PrefabType.DisconnectedPrefabInstance

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: PrefabUtility.GetPrefabType.