Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageName
Description
This will insert a mount point at the head of the search chain (so it can overlap an existing mount point and win). If you register a mount point (even if you do so only in certain circumstances) consider also adding a handler for GetExplanationForUnavailablePackage to help debug cases where a package can't be found
| Name | RegisterMountPoint |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
| Include Path | #include "Misc/PackageName.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
static void RegisterMountPoint
(
const FString & RootPath,
const FString & ContentPath
)
Parameters
| Name | Remarks |
|---|---|
| RootPath | Logical Root Path. |
| ContentPath | Content Path on disk. |