Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorAssetLibrary
Description
Checkout assets from the Content Browser. It will load the assets if needed. All objects that are in the directory will be checkout. Assets will be loaded before being checkout.
| Name | CheckoutDirectory |
| Type | function |
| Header File | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorAssetLibrary.h |
| Include Path | #include "EditorAssetLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorAssetLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Asset")
static bool CheckoutDirectory
(
const FString & DirectoryPath,
bool bRecursive
)
True if the operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| DirectoryPath | Directory of the assets that to checkout. |
| bRecursive | If the AssetPath is a folder, the search will be recursive and will checkout the asset in the sub folders. |