docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct EnvironmentInfo

    The struct defining the EnvironmentInfo.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Core.Editor.Environments
    Assembly: Unity.Services.Core.Environments.Editor.dll
    Syntax
    public struct EnvironmentInfo

    Constructors

    EnvironmentInfo(string, Guid, bool)

    Creates a new EnvironmentInfo instance

    Declaration
    public EnvironmentInfo(string name, Guid id, bool isDefault)
    Parameters
    Type Name Description
    string name

    The name of the environment.

    Guid id

    The guid of the environment.

    bool isDefault

    If the environment is a default environment.

    Fields

    Id

    Guid of the environment.

    Declaration
    [JsonProperty("id")]
    public readonly Guid Id
    Field Value
    Type Description
    Guid

    IsDefault

    If the environment is the default environment.

    Declaration
    [JsonProperty("isDefault")]
    public readonly bool IsDefault
    Field Value
    Type Description
    bool

    Name

    Name of the environment.

    Declaration
    [JsonProperty("name")]
    public readonly string Name
    Field Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 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)