Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

PrefabUtility.RecordPrefabInstancePropertyModifications

public static void RecordPrefabInstancePropertyModifications(Object targetObject);

Parameters

targetObject Object to process

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.