Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TMRUArray
Description
Adds unique item to the array. Makes sure that we don't add more than the limit. If the item existed it will be removed before addition.
| Name | AddUnique |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/MRUArray.h |
| Include Path | #include "Containers/MRUArray.h" |
int32 AddUnique
(
const T & Item
)
Always 0.
Parameters
| Name | Remarks |
|---|---|
| Item | Element to add. |