docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GdkEnvVarData

    Provides methods to retrieve GDK (Game Development Kit) data from environment variables.

    Inheritance
    object
    GdkEnvVarData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Microsoft.GDK.Discovery
    Assembly: Unity.Microsoft.GDK.Discovery.dll
    Syntax
    public static class GdkEnvVarData

    Methods

    GetGDKData()

    Retrieves GDK data from environment variables.

    Declaration
    public static IEnumerable<GdkData> GetGDKData()
    Returns
    Type Description
    IEnumerable<GdkData>

    An IEnumerable of GdkData objects containing information about the GDK detected from environment variables.

    Remarks

    This method will only return data on Windows platforms. It caches the result after the first call for improved performance.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)