docs.unity3d.com
    Show / Hide Table of Contents

    Class ConfigManager

    Use this class to fetch and apply your configuration settings at runtime. ConfigManager is wrapper class to mimic the functionality of underlying ConfigManagerImpl class. It uses an instance of ConfigManagerImpl class, making it a primitive class of ConfigManagerImpl.

    Inheritance
    Object
    ConfigManager
    Namespace: Unity.RemoteConfig
    Syntax
    public static class ConfigManager

    Properties

    Name Description
    appConfig

    Retrieves the RuntimeConfig object for handling Remote Config settings.

    requestStatus

    Returns the status of the current configuration request from the service.

    Methods

    Name Description
    FetchConfigs<T, T2>(T, T2)

    Fetches an app configuration settings from the remote server.

    FetchConfigs<T, T2>(String, T, T2)

    Fetches an app configuration settings from the remote server passing a configType.

    FetchConfigs<T, T2, T3>(T, T2, T3)

    Fetches an app configuration settings from the remote server passing filterAttributes.

    FetchConfigs<T, T2, T3>(String, T, T2, T3)

    Fetches an app configuration settings from the remote server passing a configType and filterAttributes.

    GetConfig(String)

    Retrieves the particular config from multiple config object by passing config type.

    SetConfigAssignmentHash(String)

    Sets configAssignmentHash identifier coming from core services.

    SetCustomUserID(String)

    Sets a custom user identifier for the Remote Config delivery request payload.

    SetEnvironmentID(String)

    Sets an environment identifier in the Remote Config delivery request payload.

    SetPlayerIdentityToken(String)

    Sets player Identity Token.

    SetUserID(String)

    Sets userId identifier in the Remote Config request payload.

    Events

    Name Description
    FetchCompleted

    This event fires when the configuration manager successfully fetches settings from the service.

    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