Skip to content

Commit

Permalink
[删除]1. 删除无效代码
Browse files Browse the repository at this point in the history
  • Loading branch information
AlianBlank committed Sep 4, 2024
1 parent 4093393 commit 36d417c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Runtime/Asset/AssetManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ public UniTask<AssetHandle> LoadAssetAsync(string path)
public UniTask<AssetHandle> LoadAssetAsync<T>(string path) where T : Object
{
var taskCompletionSource = new UniTaskCompletionSource<AssetHandle>();
taskCompletionSource.Task.Timeout(TimeSpan.FromSeconds(10));
var assetHandle = YooAssets.LoadAssetAsync<T>(path);

void OnAssetHandleOnCompleted(AssetHandle handle)
Expand Down

0 comments on commit 36d417c

Please sign in to comment.