AddModifier
void AddModifier(KeyCode modifierKey) void AddModifier(string modifier)
Parameters
modifierKey: The KeyCode
of the key to be used as a modifier.
modifier: The string name of the key to be used as a modifier. Allows you to use the Keys
class.
Description
Designates modifier
or modifierKey
to be used as a modifier. Note that a modifier key cannot be used as a standalone input key. See Using Modifier Keys for more details.
Example
Last updated