RecordObjects(Object[], string)
Records multiple undoable objects in a single call. This is the same as calling Undo.RecordObject multiple times.
読み終わるまでの所要時間 1 分最終更新 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.