
Logros
Desbloquea logros y entrega sus recompensas de inmediato.
SDK y REST
Integra Unity, Godot o Unreal, o usa la interfaz REST.
Panel del proyecto
Configura cada función y gestiona sus datos actuales en tu proyecto.
Integración rápida
Logros
Vídeo próximamente
Cada clave se desbloquea una vez por jugador. El modo manual confía en el juego; los umbrales se evalúan en la misma transacción del informe afectado.
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.Estos ejemplos usan el SDK de Unity (C#) y la API REST. Godot y Unreal tienen las mismas llamadas en sus propios SDK: consulta el inicio rápido
Preguntas frecuentes
¿Listo para integrar?
Empiece a construir con horizOn hoy. Nivel gratuito incluido.
