ListRequest
Represents an asynchronous request to list the packages in the project.
Read time 1 minuteLast updated 19 days ago
Definition
- Type: Class
- Namespace: UnityEditor.PackageManager.Requests
- Assembly: UnityEditor
- Inherits from: Request<PackageCollection>
- Implements: ISerializationCallbackReceiver
public sealed class ListRequest : Request<PackageCollection>, ISerializationCallbackReceiver
Remarks
The PackageManager Client class returns a ListRequest instance when you call the Client.List method to list the package dependencies of 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 PackageCollection instance from the Result property.