Usage :
ASomeActor* Actor = GetWorld()->SpawnActorDeferred<ASomeActor>(ASomeActor::StaticClass(), SpawnTransform);
if (Actor)
{
Actor->SomeParam = 42;
Actor->FinishSpawning(SpawnTransform);
}
Usage :
ASomeActor* Actor = GetWorld()->SpawnActorDeferred<ASomeActor>(ASomeActor::StaticClass(), SpawnTransform);
if (Actor)
{
Actor->SomeParam = 42;
Actor->FinishSpawning(SpawnTransform);
}