CogEngine: refactor Selection window to share the actor list with other windows such as the Collision Tester window

This commit is contained in:
Arnaud Jamin
2024-01-08 01:36:25 -05:00
parent 78ec4d06fa
commit c959ccab81
31 changed files with 649 additions and 463 deletions
@@ -207,3 +207,16 @@ void ACogEngineReplicator::Server_ResetPossession_Implementation()
#endif // !UE_BUILD_SHIPPING
}
//--------------------------------------------------------------------------------------------------------------------------
void ACogEngineReplicator::Server_DeleteActor_Implementation(AActor* Actor)
{
#if !UE_BUILD_SHIPPING
if (Actor != nullptr)
{
GetWorld()->DestroyActor(Actor);
}
#endif // !UE_BUILD_SHIPPING
}