Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 protected void RaiseNo()
 {
     No.Raise((T)this);
     Close();
 }
Exemplo n.º 3
0
 void onNoButtonClick(object sender, EventArgs e)
 {
     No.Raise(this, null);
     close();
 }