Class PackageManagerProxy | Share WebGL Game | 1.2.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class PackageManagerProxy

    Allows access to Unity's internal PackageManager APIs

    Inheritance
    Object
    PackageManagerProxy
    Namespace: Unity.Connect.Share.Editor
    Syntax
    public static class PackageManagerProxy

    Methods

    GetAllVisiblePackages()

    Returns also hidden packages

    Declaration
    public static UnityEditor.PackageManager.PackageInfo[] GetAllVisiblePackages()
    Returns
    Type Description
    UnityEditor.PackageManager.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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023