public static void Init()
 {
     if (instance == null)
     {
         instance = new RebindDialog();
     }
 }
Exemple #2
0
 /// <summary>
 /// Opens the rebind dialog for the given bind for the control specified.
 /// </summary>
 private void GetNewControl(int index)
 {
     RichHudTerminal.CloseMenu();
     RebindDialog.UpdateBind(bind, index, DialogClosed);
 }
 public override void Close()
 {
     Exit();
     instance = null;
 }