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/Subsystems/PCGSubsystem.h |
| Include Path | #include "Subsystems/PCGSubsystem.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Subsystems/PCGSubsystem.cpp |
bool RemapPCGComponent
(
const UPCGComponent * OldComponent,
UPCGComponent * NewComponent,
bool bDoActorMapping
)