SetKey
Last updated
Was this helpful?
Last updated
Was this helpful?
void SetKey(string description, string primary, [string secondary], [string primaryModifier], [string secondaryModifier])
description: The description of what the key () 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.
int: The hashcode of description
.
Defines the default input settings for the action
.
Never use SetKey to change actions! Use for that.