Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UPackageTools
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool UnloadPackages
(
const TArray< UPackage* >& PackagesToUnload |
Helper function that attempts to unload the specified top-level packages. | PackageTools.h | |
static bool UnloadPackages
(
FUnloadPackageParams& Params |
Helper function that attemps to unload the specified top-level packages. | PackageTools.h | |
static bool UnloadPackages
(
const TArray< UPackage* >& PackagesToUnload, |
Helper function that attempts to unload the specified top-level packages. | PackageTools.h |
UnloadPackages(const TArray< UPackage * > &)
Description
Helper function that attempts to unload the specified top-level packages.
| Name | UnloadPackages |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/PackageTools.h |
| Include Path | #include "PackageTools.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/PackageTools.cpp |
static bool UnloadPackages
(
const TArray < UPackage * > & PackagesToUnload
)
true if the set of loaded packages was changed
Parameters
| Name | Remarks |
|---|---|
| PackagesToUnload | the list of packages that should be unloaded |
UnloadPackages(FUnloadPackageParams &)
Description
Helper function that attemps to unload the specified top-level packages.
| Name | UnloadPackages |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/PackageTools.h |
| Include Path | #include "PackageTools.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/PackageTools.cpp |
static bool UnloadPackages
(
FUnloadPackageParams & Params
)
true if the set of loaded packages was changed
Parameters
| Name | Remarks |
|---|---|
| struct | containg list of packages that should be unloaded and other behavior params. |
UnloadPackages(const TArray< UPackage * > &, FText &, bool)
Description
Helper function that attempts to unload the specified top-level packages.
| Name | UnloadPackages |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/PackageTools.h |
| Include Path | #include "PackageTools.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/PackageTools.cpp |
static bool UnloadPackages
(
const TArray < UPackage * > & PackagesToUnload,
FText & OutErrorMessage,
bool bUnloadDirtyPackages
)
true if the set of loaded packages was changed
Parameters
| Name | Remarks |
|---|---|
| PackagesToUnload | the list of packages that should be unloaded |
| OutErrorMessage | An error message specifying any problems with unloading packages |
| bUnloadDirtyPackages | Whether to unload packages that are dirty (that need to be saved) |