| 453 | #if USE_EDITOR |
| 454 | |
| 455 | bool FindAssets(const ProjectInfo* project, HashSet<const ProjectInfo*>& projects, const Guid& id, Array<String>& tmpCache, AssetInfo& info) |
| 456 | { |
| 457 | if (projects.Contains(project)) |
| 458 | return false; |
| 459 | projects.Add(project); |
| 460 | bool found = findAsset(id, project->ProjectFolderPath / TEXT("Content"), tmpCache, info); |
| 461 | for (const auto& reference : project->References) |
| 462 | { |
| 463 | if (reference.Project) |
| 464 | found |= FindAssets(reference.Project, projects, id, tmpCache, info); |
| 465 | } |
| 466 | return found; |
| 467 | } |
| 468 | |
| 469 | #endif |
| 470 |
no test coverage detected