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