Navigation
API > API/Plugins > API/Plugins/EnhancedInput > API/Plugins/EnhancedInput/UEnhancedPlayerMappableKeyProfil-
Description
Because the key mapping profile is serialized as a subobject of the UEnhancedInputUserSettings and requires some custom serialization logic, you should not override the Serialize method on your custom key profile. If you need to add custom serialization logic then you can create a struct UPROPERTY and override the struct's serialization logic, which will prevent you from running into possible issues with subobjects.
| Name | Serialize |
| Type | function |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/UserSettings/EnhancedInputUserSettings.h |
| Include Path | #include "UserSettings/EnhancedInputUserSettings.h" |
| Source | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Private/UserSettings/EnhancedInputUserSettings.cpp |
virtual void Serialize
(
FArchive & Ar
)