LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Client.Remove

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.