Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

ReplacePrefabOptions

Description

Flags for the PrefabUtility.ReplacePrefab function.

Variables

DefaultReplaces prefabs by matching pre-existing connections to the prefab.
ConnectToPrefabConnects the passed objects to the prefab after uploading the prefab.
ReplaceNameBasedReplaces the prefab using name based lookup in the transform hierarchy.