Version: 2023.2

Awaitable<T0>

class in UnityEngine

切换到手册

描述

Awaitable type used to expose asynchronous code, as well as an async return type specifically tailored for Unity.

公共函数

CancelCancel the awaitable. If the awaitable is being awaited, the awaiter will get a System.OperationCanceledException.