Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorAssetSubsystem
Description
Save the packages the assets live in. All objects that live in the packages will be saved. Will try to checkout the files.
| Name | SaveLoadedAssets |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorAssetSubsystem.h |
| Include Path | #include "Subsystems/EditorAssetSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorAssetSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Asset")
bool SaveLoadedAssets
(
const TArray < UObject * > & AssetsToSave,
bool bOnlyIfIsDirty
)
True if the operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| AssetsToSave | Assets that we want to save. |
| bOnlyIfIsDirty | Only checkout asset that are dirty. |