Добавил фильтрацию по типу в GetActorsByTag

This commit is contained in:
Jiga228
2026-06-28 20:20:05 +07:00
parent a69dab3611
commit 8e09b93f25
2 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ R"(
CoreInstance tmp_core;
// Test find by class
std::vector<std::weak_ptr<TestActor>> test_actors = tmp_core.GetGameInstance()->GetWorld()->GetActorsByClass<TestActor>();
std::list<std::weak_ptr<TestActor>> test_actors = tmp_core.GetGameInstance()->GetWorld()->GetActorsByClass<TestActor, std::list>();
ASSERT_EQ(test_actors.size(), 1);
// Test find by tag