Добавил фильтрацию по типу в GetActorsByTag
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user