Class PackageManagerUtility
Package Manager utility methods.
Inheritance
System.Object
PackageManagerUtility
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.Foundation.Editor
Assembly: cs.temp.dll.dll
Syntax
public static class PackageManagerUtility
Fields
ManifestPath
Project relative path to packages manifest.
Declaration
public const string ManifestPath = "Packages/manifest.json"
Field Value
Type | Description |
---|---|
System.String |
Methods
GetPackageRootPath(String)
Returns package root path based on package name.
Declaration
public static string GetPackageRootPath(string packageName)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Package name. |
Returns
Type | Description |
---|---|
System.String | Package root path. |
RemovePackage(String)
Remove Package by name.
Declaration
public static void RemovePackage(string packageName)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Name of the package to remove |