远程配置

远程配置

实时调整游戏设置和功能开关,无需发布新版本

免费开始使用

即时更新配置值

在 Dashboard 中修改任意字符串、数值或布尔类型的配置值,客户端下次拉取时即可获取最新数据。

告别应用商店等待

通过远程控制避免平衡性调整、活动开关或 A/B 测试参数的审核周期。

强类型键值存储

将配置存储为命名的键值对,SDK 在运行时通过强类型 Getter 读取。

快速集成

快速集成

远程配置管理

C#
// 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
# 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"
常见问题

常见问题

准备好开始集成了吗?

今天就开始使用 horizOn 构建你的游戏后端,免费套餐开箱即用。