Hotkeys working now

This commit is contained in:
2025-06-02 19:21:17 -04:00
parent 7e8b96cb84
commit 8940dd9e70
14 changed files with 82 additions and 20 deletions

View File

@@ -227,3 +227,14 @@ ElxUsedOrNotUsed UlxUtilityLibrary::IsKeyUsedByMappingContext(const FKey &Key, c
return ElxUsedOrNotUsed::NotUsed;
}
FKey UlxUtilityLibrary::GetKeyByName(const FName &Name)
{
FKey Key = FKey(Name);
return Key.IsValid() ? Key : FKey();
}
FKey UlxUtilityLibrary::GetKeyByNameString(const FString &Name)
{
FKey Key = FKey(FName(*Name));
return Key.IsValid() ? Key : FKey();
}