1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user