Conquistas

Conquistas

Desbloqueie conquistas e conceda recompensas imediatamente.

Começar grátis

Conquistas

Desbloqueie conquistas e conceda recompensas imediatamente.

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

Integração rápida

Conquistas
Vídeo em breve

Cada chave desbloqueia uma vez por jogador. O modo manual confia no jogo; os limiares são avaliados na mesma transação afetada.

Integração rápida
Unity (C#)
using UnityEngine;
using System.Linq;
using PM.horizOn.Cloud.Manager;

var userId = UserManager.Instance.CurrentUser.UserId;
var manager = AchievementsManager.Instance;
var loaded = await manager.GetAchievements(userId);
if (!loaded.IsSuccess) { Debug.LogWarning(loaded.ErrorCode); return; }
foreach (var progress in loaded.Data.progress)
    Debug.Log(progress.key + ": " + progress.rewardState);

// Configure a manual first_steps definition, then call this on the matching game action.
var unlocked = await manager.Unlock(userId, "first_steps");
if (!unlocked.IsSuccess) { Debug.LogWarning(unlocked.ErrorCode); return; }
// Repeat the same key after timeout; never create a replacement reward identity.
// rewardState is complete, unlockedAt is null, and deliveryResults is empty.
// Values were credited atomically. Read PlayerValues again when showing the balance.
// No Inbox claim or local value addition. Refresh achievements after statistics updates.

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

Perguntas frequentes

Pronto para integrar?

Comece a construir com o horizOn hoje. Tier gratuito incluído.