Exemple #1
0
 private void DrawNoButton()
 {
     if (_dialogType == DialogType.Yes)
     {
         return;
     }
     GUI.enabled = _noPossible;
     if (!GUILayout.Button(_no))
     {
         return;
     }
     No.Raise((T)this);
     if (_closeOnNo)
     {
         Close();
     }
 }
Exemple #2
0
 protected void RaiseNo()
 {
     No.Raise((T)this);
     Close();
 }
Exemple #3
0
 void onNoButtonClick(object sender, EventArgs e)
 {
     No.Raise(this, null);
     close();
 }