Version: 2022.1

AddRequest

class in UnityEditor.PackageManager.Requests

/

继承自:PackageManager.Requests.Request_1

切换到手册

描述

表示关于向项目添加包的异步请求。

The PackageManager Client class returns an AddRequest instance when you call the Client.Add method to add a package to your project. Use this object to determine when the request is complete and to access the result.

Once the request is complete, you can retrieve the PackageInfo instance from the Result property.

继承的成员

变量

Error请求返回的错误(如果有)。
IsCompleted请求是否已完成。
Status请求状态。
Result对请求的响应。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961