PackRequest
Represents an asynchronous request to pack a package folder.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Class
- Namespace: UnityEditor.PackageManager.Requests
- Assembly: UnityEditor.CoreModule
- 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.