
유연한 데이터 형식
세이브 데이터는 일반 문자열이므로 JSON, MessagePack, 커스텀 형식 등 스키마 제약 없이 어떤 구조든 직렬화할 수 있습니다.
즉시 크로스 디바이스 동기화
플레이어가 horizOn 계정으로 인증하면 최신 세이브가 어떤 기기에서든 즉시 이용 가능합니다.
플레이어 리텐션 향상
진행 상황이 안전하게 저장된다는 것을 아는 플레이어는 기기 변경이나 재설치 후에도 훨씬 높은 확률로 돌아옵니다.
빠른 통합
Puzzle Quest
레벨 47
Progress73%
점수: 128,450
플레이 시간: 12시간 34분
// Unity C#: Cloud Saves (needs a signed in player)
using PM.horizOn.Cloud.Manager;
using UnityEngine;
[System.Serializable]
public class PlayerSave { public int Level; public int Gold; public string Checkpoint; }
// Save: the object is stored as JSON
var save = new PlayerSave { Level = 42, Gold = 1500, Checkpoint = "world_3_boss" };
bool saved = await CloudSaveManager.Instance.SaveObject(save);
// Load it again, e.g. on another device (null when nothing is saved)
var loaded = await CloudSaveManager.Instance.LoadObject<PlayerSave>();
if (loaded != null) Debug.Log($"Loaded level: {loaded.Level}");# REST API: Cloud Saves (needs the player's session token)
# Save player data
curl -X POST https://horizon.pm/api/v1/app/cloud-save/save \
-H "X-API-Key: YOUR_API_KEY" \
-H "Authorization: Bearer SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{"saveData":"{\"level\":42,\"gold\":1500,\"checkpoint\":\"world_3_boss\"}"}'
# Load player data
curl -X POST https://horizon.pm/api/v1/app/cloud-save/load \
-H "X-API-Key: YOUR_API_KEY" \
-H "Authorization: Bearer SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'이 예시는 Unity SDK(C#)와 REST API를 사용합니다. Godot과 Unreal도 각자의 SDK에서 같은 호출을 제공합니다: 퀵스타트 보기
