
即时更新配置值
在 Dashboard 中修改任意字符串、数值或布尔类型的配置值,客户端下次拉取时即可获取最新数据。
告别应用商店等待
通过远程控制避免平衡性调整、活动开关或 A/B 测试参数的审核周期。
强类型键值存储
将配置存储为命名的键值对,SDK 在运行时通过强类型 Getter 读取。
快速集成
远程配置管理
// Unity C# - Remote Config
using HorizOn;
var horizon = new HorizonClient("YOUR_API_KEY");
// Fetch all remote configs
var configs = await horizon.RemoteConfig.GetAll();
foreach (var config in configs) {
Debug.Log($"{config.Key}: {config.Value}");
}
// Fetch a single config value by key
var value = await horizon.RemoteConfig.Get("max_players");
Debug.Log($"Max players: {value}");# REST API - Remote Config
# Fetch all remote configs
curl -X GET https://eu.horizon.pm/api/v1/app/remote-config/all \
-H "X-API-Key: YOUR_API_KEY"
# Fetch a single config value by key
curl -X GET https://eu.horizon.pm/api/v1/app/remote-config/max_players \
-H "X-API-Key: YOUR_API_KEY"
