docs.unity3d.com
    Show / Hide Table of Contents

    Class RemoteConfigDataStore

    Inheritance
    Object
    Object
    ScriptableObject
    RemoteConfigDataStore
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.RemoteConfig.Editor
    Syntax
    public class RemoteConfigDataStore : ScriptableObject, ISerializationCallbackReceiver

    Fields

    Name Description
    _environments

    Property for list of environments to be serialized

    _rsKeyList

    Property for list of keys to be serialized

    _rsLastCachedKeyList

    Property for last cached list of keys to be serialized

    rsTypes

    A list of all supported types for keys

    Properties

    Name Description
    config

    Property with corresponding accessors for the config

    configId

    Property with corresponding accessors for configId

    currentEnvironmentId

    Property with corresponding accessors for current Environment Id

    currentEnvironmentIsDefault

    Property with corresponding accessors for current Environment being default

    currentEnvironmentName

    Property with corresponding accessors for current Environment Name

    dataStoreStatus

    Property with corresponding accessors depicting status of data store

    environments

    Property with corresponding accessors for list of environments

    rsKeyList

    Property with corresponding accessors for list of keys

    rsLastCachedKeyList

    Property with corresponding accessors for list of last cached keys

    settingsCount

    Property for count of settings (keys) in config

    Methods

    Name Description
    AddSetting(JObject)

    Adds a setting to the Remote Settings data store. This will add the setting to the rsKeyList.

    CheckEnvironmentsValid()

    Checks if set of environments is valid. There must be exactly one default environment.

    DeleteSetting(String)

    Deletes a setting from the Remote Settings data store. This will delete the setting from the rsKeyList.

    OnAfterDeserialize()

    Deserializes corresponding strings into JObjects

    OnBeforeSerialize()

    Serializes corresponding JObjects into strings

    RestoreLastSelectedEnvironment(String)

    Returns the name of the last selected environment that is stored in EditorPrefs.

    SetCurrentEnvironment(JObject)

    Sets the the current environment ID name.

    SetDefaultEnvironment(String)

    Sets the default environment.

    SetLastSelectedEnvironment(String)

    Sets the name of the last selected environment and stores it in EditorPrefs.

    UpdateSetting(JObject, JObject)

    Updates a setting in the Remote Settings data store. This will update the setting in the rsKeyList.

    Events

    Name Description
    EnvironmentChanged

    Declaration of event triggered after action of changed environment is performed

    RemoteSettingDataStoreChanged

    Declaration of event triggered after action of changed RemoteSettingDataStore is performed

    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