Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAssetManager
Description
Removes scan paths. Used by the GameFeaturePlugins system to reset the database to the previous state when plugin unregisters.
| Name | RemoveScanPathsForPrimaryAssets |
| 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 RemoveScanPathsForPrimaryAssets
(
FPrimaryAssetType PrimaryAssetType,
const TArray < FString > & Paths,
UClass * BaseClass,
bool bHasBlueprintClasses,
bool bIsEditorOnly
)
Parameters
| Name | Remarks |
|---|---|
| PrimaryAssetType | Type of asset to look for |
| Paths | List of file system paths to remove |
| BaseClass | Base class of all loaded assets, must match the type that were previously added |
| bHasBlueprintClasses | Flag, must match what was previously added |
| bIsEditorOnly | Flag, must match what was previously added |