Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetArrayLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetArrayLibrary.h |
| Include | #include "Kismet/KismetArrayLibrary.h" |
static int32 Array_AddUnique
&40;
const TArray< int32 > & TargetArray,
const int32 & NewItem
&41;
Remarks
Add item to array (unique) The index of the newly added item, or INDEX_NONE if the item is already present in the array
Parameters
| Name | Description |
|---|---|
| TargetArray | The array to add item to |
| NewItem | The item to add to the array |