| 344 | namespace |
| 345 | { |
| 346 | AActor* FindByActorIdOnly(UWorld* World, const FString& Id) |
| 347 | { |
| 348 | if (!World || Id.IsEmpty()) |
| 349 | return nullptr; |
| 350 | for (TActorIterator<AActor> It(World); It; ++It) |
| 351 | { |
| 352 | AActor* A = *It; |
| 353 | if (A && ActorMatchesActorId(A, Id)) |
| 354 | { |
| 355 | return A; |
| 356 | } |
| 357 | } |
| 358 | return nullptr; |
| 359 | } |
| 360 | } // namespace |
| 361 | |
| 362 | bool SpawnActorSync( |
no test coverage detected