UPackageTools::UnloadPackages

Helper function that attempts to unload the specified top-level packages.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/PackageTools.h

Include

#include "PackageTools.h"

Source

/Engine/Source/Editor/UnrealEd/Private/PackageTools.cpp

Syntax

static bool UnloadPackages
(
    const TArray< UPackage * > & PackagesToUnload,
    FText & OutErrorMessage
)

Remarks

Helper function that attempts to unload the specified top-level packages.

Returns

true if the set of loaded packages was changed

Parameters

Parameter

Description

PackagesToUnload

the list of packages that should be unloaded

OutErrorMessage

An error message specifying any problems with unloading packages

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