Skip to content

Commit

Permalink
feat(UIComponent): make WaitForInitialization() obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
jonisavo committed Sep 3, 2022
1 parent 5596a42 commit 40646b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/UIComponents/Core/UIComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public virtual void OnInit()
}

/// <returns>A Task which resolves when the component has initialized</returns>
[Obsolete("Use InitializationTask instead.")]
public Task<UIComponent> WaitForInitialization()
{
return _initCompletionSource.Task;
Expand Down

0 comments on commit 40646b6

Please sign in to comment.