RemoveModifier

void RemoveModifier(KeyCode modifierKey) void RemoveModifier(string modifier)

Parameters

modifierKey: The KeyCode of the key to stop using as a modifier. modifier: The string name of the key to stop using as a modifier.

Description

Removes modifier or modifierKey from being used as a modifier.

Note that a modifier key cannot be used as a standalone input key. See Using Modifier Keys for more details. This function allows the key to be used again for normal inputs.

Example

Last updated