Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/ITransaction
Description
Stores a command that can be used to undo a change to the specified object. This may be called multiple times in the same transaction to stack up changes that will be rolled back in reverse order. No copy of the object itself is stored.
| Name | StoreUndo |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ITransaction.h |
| Include Path | #include "Misc/ITransaction.h" |
void StoreUndo
(
UObject * Object,
TUniquePtr < FChange > CustomChange
)
Parameters
| Name | Remarks |
|---|---|
| Object | The object the undo change will apply to |
| CustomChange | The change that can be used to undo the changes to this object. |