protected override void ChildUpdate() { base.ChildUpdate(); if (Input.GetKeyUp(KeyCode.Return)) { ConfirmClick?.Invoke(); } }
protected override void ChildUpdate() { base.ChildUpdate(); if (UIManager.Instance.ConfirmKeyDownHandler != null && UIManager.Instance.ConfirmKeyDownHandler.Invoke()) { ConfirmClick?.Invoke(); } }
private void btnConfirm_Click(object sender, EventArgs e) { ConfirmClick?.Invoke(this, e); }