Ejemplo n.º 1
0
 /// <summary>
 /// Applied after OnKeyDown runs.
 /// </summary>
 internal static void Postfix(KButtonEvent e)
 {
     if (inGameSettings != null && !e.Consumed && e.TryConsume(inGameSettings.
                                                               GetKAction()))
     {
         POptions.ShowNow(typeof(ToastControlOptions), onClose: (_) =>
                          ToastControlPopups.ReloadOptions());
     }
 }