Version: 2019.1

Undo.RecordObjects

Switch to Manual
public static void RecordObjects (Object[] objectsToUndo, string name);

Description

Records multiple undoable objects in a single call. This is the same as calling Undo.RecordObject multiple times.

Important: To correctly handle instances where objectToUndo is an instance of a Prefab, PrefabUtility.RecordPrefabInstancePropertyModifications must be called after RecordObject.

See Also: Undo.RecordObject.