PackRequest
Represents an asynchronous request to pack a package folder.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEditor.PackageManager.Requests
- Assembly: UnityEditor
- Inherits from: Request<PackOperationResult>
- Implements: ISerializationCallbackReceiver
public sealed class PackRequest : Request<PackOperationResult>, ISerializationCallbackReceiver
Remarks
The PackageManager Client class returns a PackRequest instance when you call the Client.Pack method. Use this object to determine when the request is complete and to access the result.
Once the request is complete, you can retrieve the PackageOperationResult instance from the Result property.