Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

PrefabUtility.RecordPrefabInstancePropertyModifications

Switch to Manual
public static function RecordPrefabInstancePropertyModifications(targetObject: Object): void;

Parameters

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.