Is there a built-in Epic Games solution to foreach TArray objects and call a function on them

gazee_puk
Mon, 08 Apr 2024 15:24:27 +0000
Programming & Scripting

Hi, I was looking for a Epic Games method to foreach elements of a TArray container and call a specific function on them, but i can’t find one for TArray type. There are some similar functions such as ForEachObjectWithOuter, TypedElementListObjectUtil::ForEachObject or std::for_each. But none of them take TArray as a parameter. Does such method even exist? I don’t find for and foreach loop really convinient personally to my, so I’m looking for an Epic Games alternative

1 post - 1 participant