Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAssetManager
Description
If the given package contains a primary asset, get the packages referenced by its AssetBundleEntries. Used to inform the cook of should-be-cooked dependencies of PrimaryAssets for PrimaryAssets that are recorded in the AssetManager but have cooktype Unknown and so are not returned from ModifyCook.
| Name | ModifyCookReferences |
| 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 void ModifyCookReferences
(
FName PackageName,
TArray < FName > & PackagesToCook
)