Hotkeys working now
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user