SetKey
void SetKey(string description, string primary, [string secondary], [string primaryModifier], [string secondaryModifier])
Parameters
description: The description of what the key (action) is used for.
primary: The primary input to be used for this action.
secondary: Optional. The secondary input to be used for this action. Defaults to None.
primaryModifier: Optional. The modifier key to be used for the primary input.
secondaryModifier: Optional. The modifier key to be used for the secondary input.
Returns
int: The hashcode of description.
Description
Defines the default input settings for the action.
Never use SetKey to change actions! Use ChangeKey() for that.
Example
Last updated
Was this helpful?