Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorAssetSubsystem
Description
Checkout all assets in a directory. It will load the assets if needed. All objects that are in the directory will be checked out. Assets will be loaded before being checked out.
| Name | CheckoutDirectory |
| 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 | Revision Control",
Meta=(Keywords="Source Control"))
bool CheckoutDirectory
(
const FString & DirectoryPath,
bool bRecursive
)
True if the operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| DirectoryPath | Directory of the assets to be checked out. |
| bRecursive | If the AssetPath is a folder, the search will be recursive and will checkout the assets in the sub folders. |