- 引入 UniTask 和异步版本的 UIModule - 调整 Runtime/UIBase 和 Presentation 下的脚本命名空间到 SepCore.UI - 将原来的 5 层 UI 迁移到异步实现 - 规范各层的 UI 脚本命名
15 lines
276 B
C#
15 lines
276 B
C#
|
|
using System;
|
|
|
|
namespace Cysharp.Threading.Tasks
|
|
{
|
|
public static class ExceptionExtensions
|
|
{
|
|
public static bool IsOperationCanceledException(this Exception exception)
|
|
{
|
|
return exception is OperationCanceledException;
|
|
}
|
|
}
|
|
}
|
|
|