1
This commit is contained in:
@@ -13,6 +13,7 @@ namespace BITKit.UX
|
||||
protected readonly IUXService UXService;
|
||||
protected VisualElement RootVisualElement { get; set; }
|
||||
protected bool IsInitialized { get; private set; }
|
||||
protected readonly UniTaskCompletionSource WaitUntilInitialized = new();
|
||||
protected UIToolkitOverlay(IUXService uxService, CancellationTokenSource cancellationToken)
|
||||
{
|
||||
UXService = uxService;
|
||||
@@ -40,6 +41,8 @@ namespace BITKit.UX
|
||||
|
||||
UXUtils.Inject(this);
|
||||
IsInitialized = true;
|
||||
|
||||
WaitUntilInitialized.TrySetResult();
|
||||
}
|
||||
public virtual void Dispose()
|
||||
{
|
||||
|
Reference in New Issue
Block a user