Event OnKeyDown(Int aiKeyCode) if Utility.IsInMenuMode() Debug.Notification("キーが押されましたが、メニューを開いている最中なので無視します") return endif Debug.Notification("キーが押されました") EndEvent