[UE4] TMap用法

 

TMap<EGameKey::Type, FSimpleKeyState> KeyStateMap;

for (TMap<EGameKey::Type,FSimpleKeyState>::TIterator It(KeyStateMap); It; ++It)
{
	EGameKey::Type* const k = &It.Key();
	FSimpleKeyState* const v = &It.Value();
}

 

你可能感兴趣的:(UE4)