Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Subsystems > API/Editor/UnrealEd/Subsystems/UEditorAssetSubsystem
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorAssetSubsystem.h |
| Include | #include "Subsystems/EditorAssetSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorAssetSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Asset")
bool SetDirtyFlag
(
UObject * Object,
const bool bDirtyState
)
Remarks
Set the package dirty flag for an asset True if the operation succeeds.
Parameters
| Name | Description |
|---|---|
| Object | Object we want to set the package dirty state. |
| bDirtyState | The dirty state, true mean the asset package need to be save. |