コード例 #1
0
 public void OnKeyPressed(object sender, KeyboardEventArgs e)
 {
     m_KeyBindings[e.Key]?.Invoke(eButtonState.PRESSED, new Vector2(1.0f));
 }
コード例 #2
0
 public void OnKeyUp(object sender, KeyboardEventArgs e)
 {
     m_KeyBindings[e.Key]?.Invoke(eButtonState.UP, new Vector2(1.0f));
 }