SlateKey
// UNovInputTestLibrary
static bool SlateKey(FName KeyName, bool bDown)
Simulates a keyboard key.
Parameters#
- KeyName (
FName): Unreal name:W,LeftShift,SpaceBar… - bDown (
bool): true: press
Returns#
bool: true if someone took it
Notes#
- No effect in a Shipping build.
- The event follows the whole internal path: window, view, controller, Enhanced Input, character.