Constructor TimelineShortcutAttribute
TimelineShortcutAttribute(string, KeyCode, ShortcutModifiers)
TimelineShortcutAttribute Constructor
Declaration
public TimelineShortcutAttribute(string id, KeyCode defaultKeyCode, ShortcutModifiers defaultShortcutModifiers = ShortcutModifiers.None)
Parameters
Type | Name | Description |
---|---|---|
string | id | Id to register the shortcut. It will automatically be prefix by 'Timeline/' in order to be in the 'Timeline' section of the shortcut manager. |
KeyCode | defaultKeyCode | Optional key code for default binding. |
ShortcutModifiers | defaultShortcutModifiers | Optional shortcut modifiers for default binding. |