Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGSubsystem
Description
In case of BP Actors, we need to remap the old component destroyed by the construction script to the new one. Returns true if re-mapping succeeded.
| Name | RemapPCGComponent |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGSubsystem.h |
| Include Path | #include "PCGSubsystem.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGSubsystem.cpp |
bool RemapPCGComponent
(
const UPCGComponent * OldComponent,
UPCGComponent * NewComponent,
bool bDoActorMapping
)