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.

PrefabUtility.MergeAllPrefabInstances

static function MergeAllPrefabInstances(targetObject: Object): void;
static void MergeAllPrefabInstances(Object targetObject);
static def MergeAllPrefabInstances(targetObject as Object) as void

Description

Force re-merging all prefab instances of this prefab.

This is done automatically and you will not have to call this function manually.