Example #1
0
 private void DrawYesButton()
 {
     if (_dialogType == DialogType.No)
     {
         return;
     }
     GUI.enabled = _yesPossible;
     if (!GUILayout.Button(_yes))
     {
         return;
     }
     Yes.Raise((T)this);
     if (_closeOnYes)
     {
         Close();
     }
 }
Example #2
0
 protected void RaiseYes()
 {
     Yes.Raise((T)this);
     Close();
 }
Example #3
0
 void onOkButtonClick(object sender, EventArgs e)
 {
     Yes.Raise(this, null);
     close();
 }