Custom TArray

How can i create an array that has names instead of numbers?
Something like the Axis Mapping Settings. I have already lokked at the code but it does not work for me.

Is there an example where something like this is explained?

I guess you’re looking for TMap?



TMap< FString, SomeType > MyMap;
MyMap.Add(FString("MyKey1"), SomeType());
SomeType& MyValue = MyMap"MyKey1"];