RecordObjects(Object[], string)
Records multiple undoable objects in a single call. This is the same as calling Undo.RecordObject multiple times.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static void RecordObjects(Object[] objectsToUndo, string name)
Parameters
Remarks
Important: To correctly handle instances where objectToUndo is an instance of a Prefab, PrefabUtility.RecordPrefabInstancePropertyModifications must be called after RecordObject.
Additional Resources: Undo.RecordObject.