I need to be able to see if control is pressed while entering in keys into a string in a textfield.
I’d like to do something like this, maybe in hexadecimal notation
if (c == 0xA2)
An extensive hour and half of googling yielded no results.
Do you know how to do this?
Thanks!
This is how I’d basically check if ctrl was pressed while a text field was focused. It’ll register every frame ctrl is pressed, so if the intention is to react once to pressing ctrl (i.e. Input.GetKeyDown type of behavior) then additional checks need to be added.