Method GetIsKeyCodeAtoZ
GetIsKeyCodeAtoZ(KeyCode)
Tests if a KeyCode represents a key in the range of A to Z, regardless of the ShiftMask. This is useful for testing if a key is based on these keys which are special cased.
public static bool GetIsKeyCodeAtoZ(KeyCode keyCode)
Parameters
keyCode
KeyCode
Returns
Remarks
IMPORTANT: Lowercase alpha keys are encoded in KeyCode as values between 65 and 90 corresponding to the un-shifted A to Z keys on a keyboard. Helper properties are provided these (e.g. A, B, etc.). Even though the values are the same as the ASCII values for uppercase characters, these enum values represent lowercase, un-shifted characters.