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.RecordPrefabInstancePropertyModifications

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

Description

Force record property modifications by comparing against the parent prefab.

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