Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Description
Note that the object will be modified. If we are currently recording into the transaction buffer (undo/redo), save a copy of this object into the buffer and marks the package as needing to be saved.
| Name | Modify |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include Path | #include "UObject/Object.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp |
virtual bool Modify
(
bool bAlwaysMarkDirty
)
true if the object was saved to the transaction buffer
Parameters
| Name | Remarks |
|---|---|
| bAlwaysMarkDirty | if true, marks the package dirty even if we aren't currently recording an active undo/redo transaction |