Remote Config
Read game settings (difficulty, drop rates, feature flags, A/B values) from the platform at runtime. This lets you change behavior without shipping a new build. Available on a subset of platforms.
Fetch once at startup before gameplay, and always provide hardcoded defaults for every key. The request can fail, or the platform can return only part of your config.
Support
Check this before requesting remote values. If unsupported, use your local defaults.
bridge.remoteConfig.isSupportedBridge.remoteConfig.isSupportedUse the PlaygamaBridge Is Remote Config Supported condition. If unsupported, use your local defaults.
Use the PlaygamaBridge Is Remote Config Supported condition. If unsupported, use your local defaults.
Bridge.remote_config.is_supportedplaygama_bridge_remote_config_is_supported()bridge.remote_config.is_supported()bridge.remoteConfig.isSupportedSet Context
Set dynamic game/player parameters used by the platform for config segmentation (for example, Yandex clientFeatures). Parameters accumulate across calls and are forwarded to the platform SDK on every get().
Call it before get() — for example, right after you know the player's segment.
bridge.remoteConfig.setContext({ segment: 'whales', level: 42 })Bridge.remoteConfig.SetContext(new Dictionary<string, object>() { { "segment", "whales" }, { "level", 42 } });There is no separate action — add context parameters with the common Add Action Parameter / Add Bool Action Parameter actions right before Send Remote Config Get Request (see the example in Load Values).
There is no separate action — add context parameters with the common Add Action Parameter / Add Bool Action Parameter actions right before Send Remote Config Get Request (see the example in Load Values).
Bridge.remote_config.set_context({ "segment": "whales", "level": 42 })playgama_bridge_remote_config_set_context(json_stringify({ segment: "whales", level: 42 }))bridge.remote_config.set_context({ segment = "whales", level = 42 })bridge.remoteConfig.setContext({ segment: 'whales', level: 42 })Load Values
Load remote values and merge them into your local defaults before gameplay starts. get() takes no arguments — pass segmentation parameters via setContext() beforehand.
In the event sheet:
On a trigger (e.g. Button → On clicked), optionally add context with Add Action Parameter / Add Bool Action Parameter, then run Send Remote Config Get Request.
Add the On Remote Config Got Completed condition. Inside it, check Has Remote Config Value for each key and read it with the
PlaygamaBridge.RemoteConfigValue("key")expression.
In the events sheet:
On a trigger (e.g. Button is clicked), optionally add context with Add Action Parameter / Add Bool Action Parameter, then run Send Remote Config Get Request.
Add the On Remote Config Got Completed condition. Inside it, check Has Remote Config Value for each key and read it with the
PlaygamaBridge::RemoteConfigValue("key")expression.
Last updated