Exemple #1
0
 private void OnKeyDown()
 {
     if (keyDownHandle != null)
     {
         keyDownHandle.Invoke(curKey);
     }
 }
Exemple #2
0
 private void OnKeyUp()
 {
     if (keyUpHandle != null)
     {
         keyUpHandle.Invoke(curKey);
     }
 }