Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAssetManager
Description
Unloads a list of Primary Assets that were previously Loaded. If the only thing keeping these assets in memory was a prior Load call, they will be freed.
| Name | UnloadPrimaryAssets |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h |
| Include Path | #include "Engine/AssetManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/AssetManager.cpp |
virtual int32 UnloadPrimaryAssets
(
const TArray < FPrimaryAssetId > & AssetsToUnload
)
Number of assets unloaded
Parameters
| Name | Remarks |
|---|---|
| AssetsToUnload | List of primary assets to load |