docs.unity3d.com
    Show / Hide Table of Contents

    Class EnvironmentsOptionsExtensions

    Initialization option extensions related to environments.

    Inheritance
    Object
    EnvironmentsOptionsExtensions
    Namespace: Unity.Services.Core.Environments
    Syntax
    public static class EnvironmentsOptionsExtensions

    Methods

    SetEnvironmentName(InitializationOptions, String)

    An extension to set the environment to use.

    Declaration
    public static InitializationOptions SetEnvironmentName(this InitializationOptions self, string environmentName)
    Parameters
    Type Name Description
    InitializationOptions self

    The InitializationOptions object to modify

    String environmentName

    The name of the environment to use

    Returns
    Type Description
    InitializationOptions

    Return self. Fluent interface pattern to make it easier to chain set options operations.

    Exceptions
    Type Condition
    ArgumentException

    Throws a ArgumentException if environmentName is null or empty.

    In This Article
    • Methods
      • SetEnvironmentName(InitializationOptions, String)
    Back to top
    Terms of use
    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