UEditorAssetLibrary::CheckoutDirectory

Checkout assets from the Content Browser.

Windows
MacOS
Linux

References

Module

EditorScriptingUtilities

Header

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorAssetLibrary.h

Include

#include "EditorAssetLibrary.h"

Source

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorAssetLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Asset")
static bool CheckoutDirectory
(
    const FString & DirectoryPath,
    bool bRecursive
)

Remarks

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.

Returns

True if the operation succeeds.

Parameters

Parameter

Description

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss