1
This commit is contained in:
@@ -107,6 +107,8 @@ namespace BITKit.UX
|
||||
private Button _cancelButton;
|
||||
private void Start()
|
||||
{
|
||||
destroyCancellationToken.Register(Dispose);
|
||||
|
||||
DI.Register<IUXDialogue,UnityDialogue>();
|
||||
|
||||
UXUtils.Inject(this);
|
||||
@@ -114,8 +116,14 @@ namespace BITKit.UX
|
||||
Close();
|
||||
}
|
||||
|
||||
private void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
internal void PrintAlertMessage(AlertMessage message)
|
||||
{
|
||||
if(destroyCancellationToken.IsCancellationRequested)return;
|
||||
|
||||
document.rootVisualElement.SetActive(true);
|
||||
_titleLabel.text = message.title;
|
||||
_contextLabel.text = message.message;
|
||||
|
Reference in New Issue
Block a user