Your next feature
Remote Config
Update balancing values while your game keeps running.
Unity

Your visible result
An updated dashboard value is used when fetched again in the game.
Create a remote config value1:33
Open video separately ↗Build this feature
You can preview the guide. Running it requires an active project key. Prepare project
SDK installed and project configuration imported.
C#
1using UnityEngine;
2using PM.horizOn.Cloud.Core;
3using PM.horizOn.Cloud.Manager;
4
5// Attach this script to a GameObject in your first scene.
6public class RemoteConfigDemo : MonoBehaviour
7{
8 async void Start()
9 {
10 // Setup: initialize and connect.
11 HorizonApp.Initialize();
12 await new HorizonServer().Connect();
13
14 // horizOn: read values from the remote config.
15 // Type-safe getters with defaults
16 int maxLives = await RemoteConfigManager.Instance.GetInt("max_lives", 3);
17 bool eventActive = await RemoteConfigManager.Instance.GetBool("holiday_event", false);
18
19 // Get all configs at once
20 var configs = await RemoteConfigManager.Instance.GetAllConfigs();
21 }
22}
Test your new feature.
An updated dashboard value is used when fetched again in the game.
Choose the same project in the dashboard as in your game configuration.
Docs and dashboard
Read the docsTutorial video
Live ops and contentUnity7:54
Open video separately ↗
