I usually want to do some test triggered by some key,just like this
if (Input.GetKeyDown(KeyCode.A))
{
//test code
}
It is about in the old input system,I want to implement it in new input system… Maybe I could register the “A” key as input action in inputmap,but it seems a liittle too complicated…Is there some simple way to do it ?