mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-27 01:40:03 +00:00
CogEngine: refactor Selection window to share the actor list with other windows such as the Collision Tester window
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user