Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorAssetSubsystem
Description
Delete assets that are already loaded. This is a Force Delete. It does not check if the assets have references in other Levels or by Actors. It will close all the asset editors and may clear the Transaction buffer (Undo History). Will try to mark the files as deleted.
| Name | DeleteLoadedAssets |
| 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 DeleteLoadedAssets
(
const TArray < UObject * > & AssetsToDelete
)
True if the operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| AssetsToDelete | Loaded assets to delete. |