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 |
UObject &42; DuplicateAsset
&40;
const FString & SourceAssetPath,
const FString & DestinationAssetPath
&41;
Remarks
Duplicate an asset. Will try to checkout the file. The Asset will be loaded before being duplicated. The duplicated object if the operation succeeds.
Parameters
| Name | Description |
|---|---|
| SourceAssetPath | Asset Path of the asset that we want to copy from. |
| DestinationAssetPath | Asset Path of the duplicated asset. |