Class PackageManagerProxy
Allows access to Unity's internal PackageManager APIs
Namespace: Unity.Connect.Share.Editor
Syntax
public static class PackageManagerProxy
Methods
GetAllVisiblePackages()
Returns also hidden packages
Declaration
public static PackageInfo[] GetAllVisiblePackages()
Returns
Type | Description |
---|---|
PackageInfo[] |
GetApplicationIdentifier()
As Application.identifier cannot be trusted (it can return empty on WebGL, for example) Reads the value directly from the ProjectSettings. TODO Move to a dedicated class
Declaration
public static string GetApplicationIdentifier()
Returns
Type | Description |
---|---|
String | null if value not set |