Game ideas & features

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 value0:37

Existing dashboard tutorial. It shows the previous design; the guide follows the current workflow.

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#
Assets/Scripts/RemoteConfigDemo.cs
horizOn callSetup
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.

Endpoints
  • GET/remote-config/{configKey}
  • GET/remote-config/all
All endpoints in the API reference
Our suggestion for your next step

Give every round a high score.

Save the score after a round and show who's ahead. Keep using your connection and player session.