Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetArrayLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetArrayLibrary.h |
Include | #include "Kismet/KismetArrayLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/KismetArrayLibrary.cpp |
static int32 Array_Find
&40;
const TArray< int32 > & TargetArray,
const int32 & ItemToFind
&41;
Remarks
Finds the index of the first instance of the item within the array The index the item was found at, or -1 if not found
Parameters
Name | Description |
---|---|
TargetArray | The array to search for the item |
ItemToFind | The item to look for |