This commit is contained in:
CortexCore
2025-04-28 15:11:01 +08:00
parent 2d8978e694
commit f8bcf8a4d4
19 changed files with 526 additions and 15 deletions

View File

@@ -134,6 +134,8 @@ namespace BITKit.UX
_confirmButton.clicked += Close;
_cancelButton.clicked += Close;
BITInputSystem.AllowInput.AddDisableElements(this);
if (message.OnConfirm is not null)
{
@@ -156,6 +158,7 @@ namespace BITKit.UX
}
private void Close()
{
BITInputSystem.AllowInput.RemoveDisableElements(this);
Dispose();
BITAppForUnity.AllowCursor.RemoveElement(this);
}