mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
ShowUIAsyncAwait
This commit is contained in:
@@ -264,9 +264,9 @@ namespace GameLogic
|
||||
/// </summary>
|
||||
/// <param name="userDatas">用户自定义数据。</param>
|
||||
/// <returns>打开窗口操作句柄。</returns>
|
||||
public async UniTask<UIWindow> ShowUIAsyncAwait<T>(params System.Object[] userDatas) where T : UIWindow
|
||||
public async UniTask<T> ShowUIAsyncAwait<T>(params System.Object[] userDatas) where T : UIWindow
|
||||
{
|
||||
return await ShowUIAwaitImp(typeof(T), true, userDatas);
|
||||
return await ShowUIAwaitImp(typeof(T), true, userDatas) as T;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user