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 DuplicateDirectory
(
const FString & SourceDirectoryPath,
const FString & DestinationDirectoryPath
)
Remarks
Duplicate a directory and the assets in it. Will try to checkout the files. The Assets will be loaded before being duplicated. The duplicated object if the operation succeeds.
Parameters
| Name | Description |
|---|---|
| SourceDirectoryPath | Directory of the assets that we want to duplicate from. |
| DestinationDirectoryPath | Directory of the duplicated asset. |