Sonic853

About love reading infringement

Original link: https://blog.853lab.com/2022/07/post_2604.html This article is written for Aishu. Of course, if there is no human intervention in this article, it has already been shown in Aishu. First of all, every time I finish writing an article, I will search for my article inclusion status through Baidu or Google, and it turns out that my […]

About love reading infringement Read More »

cuckoo

Original link: https://blog.853lab.com/2022/07/post_2592.html I have time to write This article is reproduced from: https://blog.853lab.com/2022/07/post_2592.html This site is for inclusion only, and the copyright belongs to the original author.

cuckoo Read More »

cuckoo

Original link: https://blog.853lab.com/2022/07/post_2592.html I have time to write This article is reproduced from: https://blog.853lab.com/2022/07/post_2592.html This site is for inclusion only, and the copyright belongs to the original author.

cuckoo Read More »

Why did Zheng Nanling’s famous software end bleak due to the acquisition of Qian Qian Jing Ting and Kuai Tu Browsing?

Original link: https://blog.853lab.com/2022/07/post_2589.html I’m not fit to write content, goo. This article is reprinted from: https://blog.853lab.com/2022/07/post_2589.html This site is for inclusion only, and the copyright belongs to the original author.

Why did Zheng Nanling’s famous software end bleak due to the acquisition of Qian Qian Jing Ting and Kuai Tu Browsing? Read More »

Use Task to wait for AssetDatabase.ImportPackage to execute

Original link: https://blog.853lab.com/2022/07/post_2583.html public static async Task ImportPackageAsync(string packagePath) { TaskCompletionSource<object> taskCompletionSource = new TaskCompletionSource<object>(); try { AssetDatabase.importPackageCancelled += OnImportPackageCancelled; AssetDatabase.importPackageCompleted += OnImportPackageCompleted; AssetDatabase.importPackageFailed += OnImportPackageFailed; AssetDatabase.ImportPackage(packagePath, false); await taskCompletionSource.Task; } catch (System.Exception exception) { Debug.LogException(exception); } finally { AssetDatabase.importPackageCancelled -= OnImportPackageCancelled; AssetDatabase.importPackageCompleted -= OnImportPackageCompleted; AssetDatabase.importPackageFailed -= OnImportPackageFailed; } void OnImportPackageCancelled(string packageName) { taskCompletionSource.SetCanceled(); }

Use Task to wait for AssetDatabase.ImportPackage to execute Read More »