
Valores do jogador
Gerencie moedas e energia no servidor.
SDKs e REST
Integre Unity, Godot ou Unreal ou use a interface REST.
Painel do projeto
Configure cada função e gerencie seus dados atuais no projeto.
Integração rápida
Valores do jogador
Vídeo em breve
Moedas, contadores e energia geridos pelo servidor. Defina saldos, ofertas e alterações verificadas por projeto.
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.Estes exemplos usam o SDK do Unity (C#) e a API REST. Godot e Unreal têm as mesmas chamadas nos seus próprios SDKs: veja o quickstart
Perguntas frequentes
Pronto para integrar?
Comece a construir com o horizOn hoje. Tier gratuito incluído.
