
Erfolge
Schaltet Erfolge frei und schreibt Belohnungen sofort gut.
SDKs und REST
Integriert mit Unity, Godot oder Unreal oder nutzt die REST-Schnittstelle.
Projekt-Dashboard
Richtet die Funktion ein und verwaltet ihre aktuellen Daten in eurem Projekt.
Schnelle Integration
Erfolge
Video folgt in Kürze
Jeder Schlüssel wird pro Spieler einmal freigeschaltet. Manuelle Regeln vertrauen dem Spiel; Statistikschwellen werden in derselben betroffenen Meldung geprüft.
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.Diese Beispiele nutzen das Unity-SDK (C#) und die REST-API. Godot und Unreal haben dieselben Aufrufe in ihren eigenen SDKs: siehe Quickstart
Häufig gestellte Fragen
Bereit zur Integration?
Startet noch heute mit horizOn. Free Tier inklusive.
