Version: 2018.1
public static PackageManager.Requests.RemoveRequest Remove (string packageIdOrName);

Parameters

packageIdOrNameThe name or the ID of the package to remove from the project. If only the name is specified, the package is removed regardless of the installed version.

Returns

RemoveRequest A RemoveRequest instance, which you can use to monitor the status of the asynchronous operation.

Description

Removes a previously added package from the project.