
即时更新配置值
在 Dashboard 中修改任意字符串、数值或布尔类型的配置值,客户端下次拉取时即可获取最新数据。
告别应用商店等待
通过远程控制避免平衡性调整、活动开关或 A/B 测试参数的审核周期。
强类型键值存储
将配置存储为命名的键值对,SDK 在运行时通过强类型 Getter 读取。
快速集成
远程配置管理
// Unity C#: Remote Config
using PM.horizOn.Cloud.Manager;
using UnityEngine;
// Every value in one request at startup (cached afterwards)
var configs = await RemoteConfigManager.Instance.GetAllConfigs();
// Typed getters with a default for a missing key
int maxPlayers = await RemoteConfigManager.Instance.GetInt("max_players", 4);
bool eventActive = await RemoteConfigManager.Instance.GetBool("holiday_event", false);
Debug.Log($"Max players: {maxPlayers}, event active: {eventActive}");# REST API: Remote Config
# Fetch all remote configs
curl -X GET https://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://horizon.pm/api/v1/app/remote-config/max_players \
-H "X-API-Key: YOUR_API_KEY"这些示例使用 Unity SDK(C#)和 REST API。Godot 和 Unreal 在各自的 SDK 中有相同的调用: 参见快速入门

