Your next feature
User Feedback
Collect feedback directly from your game.
Unity

Your visible result
A test message from the game appears in the dashboard.
Review user feedback1:57
Open video separately ↗Prepare the same project
Choose the same project in the dashboard as in your game configuration.
User Feedback →No additional definition is needed for the first request. An empty result is valid until matching game data exists.
Build this feature
You can preview the guide. Running it requires an active project key. Prepare project
SDK installed, project configuration imported and player signed in.
Save the C# file, attach it to a GameObject and enter Play. Check Console.
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 UserFeedbackDemo : MonoBehaviour
7{
8 async void Start()
9 {
10 // Setup: initialize, connect and sign in a player.
11 HorizonApp.Initialize();
12 await new HorizonServer().Connect();
13 if (!UserManager.Instance.IsSignedIn)
14 {
15 bool authenticated = UserManager.Instance.HasCachedAnonymousToken()
16 ? await UserManager.Instance.RestoreAnonymousSession()
17 : await UserManager.Instance.SignUpAnonymous("StatisticsPlayer");
18 if (!authenticated) return;
19 }
20
21 // horizOn: send a bug report or a feature request.
22 // Bug report with auto device info
23 await FeedbackManager.Instance.ReportBug(
24 title: "Crash on level 5",
25 message: "Game crashes when opening inventory"
26 );
27
28 // Feature request
29 await FeedbackManager.Instance.RequestFeature(
30 title: "Dark mode",
31 message: "Please add dark mode option"
32 );
33 }
34}
Test your new feature.
A test message from the game appears in the dashboard.
Choose the same project in the dashboard as in your game configuration.


