ForbidKey

void ForbidKey(KeyCode key) void ForbidKey(string keyString)

Parameters

key: The KeyCode of the key to forbid. keyString: A string representing the KeyCode of the key to forbid. See Valid Inputs for valid strings.

Description

Forbids the key from being bound (or re-bound) by the player using cInput's UI.

Example

Last updated