
Mercado
Intercambia objetos mediante ofertas compartidas del proyecto.
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
Mercado
Vídeo próximamente
Intercambia los objetos originales del inventario con moneda y comisiones explícitas y devoluciones protegidas.
using System.Threading.Tasks;
using UnityEngine;
using PM.horizOn.Cloud.Examples.Features;
using PM.horizOn.Cloud.Objects.Network.Responses;
public class MarketplaceDemo : MonoBehaviour
{
// Import the SDK Examples sample. Bind its screen to the signed-in player
// and set the stable projectId in the Inspector. Never use an Account Key.
public MarketplaceExample screen;
public Task<MarketplaceResult<MarketplaceListingView>> ReadListing(string listingId)
=> MarketplaceQuickstart.ReadOneListing(screen, listingId);
// Wire only to the player's Buy confirmation after displaying ReadListing.
public Task<bool> ConfirmPurchase(string listingId)
=> MarketplaceQuickstart.BuyReviewedListing(screen, listingId);
// false/timeout does not prove nonexecution. Use screen.RetryPending() or
// screen.RecoverOriginalOperation(); never replace the unresolved original.
// The sample refreshes Inventory, Values and Marketplace before acknowledgement.
// Its native file journal rejects WebGL writes; use a durable browser persister.
}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.
