MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnKeyDown

Method OnKeyDown

Source/Editor/GUI/MainMenu.cs:104–112  ·  view source on GitHub ↗

(KeyboardKeys key)

Source from the content-addressed store, hash-verified

102
103 /// <inheritdoc />
104 public override bool OnKeyDown(KeyboardKeys key)
105 {
106 if (base.OnKeyDown(key))
107 return true;
108
109 // Fallback to the edit window for shortcuts
110 var editor = Editor.Instance;
111 return editor.Windows.EditWin.InputActions.Process(editor, this, key);
112 }
113
114 /// <inheritdoc />
115 protected override void PerformLayoutAfterChildren()

Callers

nothing calls this directly

Calls 1

ProcessMethod · 0.45

Tested by

no test coverage detected