
Valori del giocatore
Gestisci valute ed energia sul server.
SDK e REST
Integra Unity, Godot o Unreal oppure usa l’interfaccia REST.
Dashboard del progetto
Configura ogni funzionalità e gestisci i dati attuali nel tuo progetto.
Integrazione rapida
Valori del giocatore
Video in arrivo
Valute, contatori ed energia gestiti dal server. Definisci saldi, offerte e modifiche verificate per ogni progetto.
using PM.horizOn.Cloud.Manager;
using UnityEngine;
var userId = UserManager.Instance.CurrentUser.UserId;
var current = await PlayerValuesManager.Instance.GetState(userId);
if (!current.IsSuccess) { Debug.LogWarning(current.ErrorCode); return; }
foreach (var value in current.State.values) Debug.Log(value.key + "=" + value.balance);
// This minimal first call reads authoritative balances, never a local reward delta.
// For purchases and original retry, import PlayerValuesExample and its
// PendingPlayerValuesPurchase helper from the official SDK samples.
// Persist the complete original user/offer/operationId before one send.
// An uncertain or expired original must never become a fresh purchase ID.Questi esempi usano l'SDK per Unity (C#) e la REST API. Godot e Unreal hanno le stesse chiamate nei loro SDK: vedi la quickstart
Domande frequenti
Pronto per l'integrazione?
Inizi a costruire con horizOn oggi stesso. Tier gratuito incluso.
