Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > UPackageTools > ReloadPackages
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/PackageTools.h |
Include | #include "PackageTools.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/PackageTools.cpp |
static bool ReloadPackages
&40;
const TArray< UPackage &42; > & PackagesToReload,
FText & OutErrorMessage,
const EReloadPackagesInteractionMode InteractionMode
&41;
Remarks
Helper function that attempts to reload the specified top-level packages. true if the set of loaded packages was changed
Parameters
Name | Description |
---|---|
PackagesToReload | The list of packages that should be reloaded |
OutErrorMessage | An error message specifying any problems with reloading packages |
InteractionMode | Whether the function is allowed to ask the user questions (such as whether to reload dirty packages) |