Class BrushShortcutHandler<TKey>
Inheritance
BrushShortcutHandler<TKey>
Syntax
public class BrushShortcutHandler<TKey>
Type Parameters
Methods
AddActions(TKey, Action, Action)
Declaration
public void AddActions(TKey key, Action onPressed = null, Action onReleased = null)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Action |
onPressed |
|
Action |
onReleased |
|
HandleShortcutChanged(ShortcutArguments, TKey)
Declaration
public void HandleShortcutChanged(ShortcutArguments args, TKey key)
Parameters
IsShortcutPressed(TKey)
Declaration
public bool IsShortcutPressed(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
RemoveActions(TKey)
Declaration
public void RemoveActions(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|