sourceEvent
The input event that triggered the shortcut.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
public Event sourceEvent
Remarks
This is when the shortcut is triggered programmatically rather than by a user input event, for example when a clutch shortcut is ended because its context was deactivated rather than by releasing its binding.
null