Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddAndRemoveRequest

Represents an asynchronous request to add package dependencies to the project and/or remove package dependencies from the project.
Read time 1 minuteLast updated 20 days ago

Definition

public sealed class AddAndRemoveRequest : Request<PackageCollection>, ISerializationCallbackReceiver

Remarks

The PackageManager Client class returns an AddAndRemoveRequest instance when you call the Client.AddAndRemove method to add package dependencies to the project and/or remove package dependencies from the 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.

Inheritance