
거래소
프로젝트의 공동 판매 제안을 통해 아이템을 거래하세요.
SDK 및 REST
Unity, Godot, Unreal과 통합하거나 REST 인터페이스를 사용하세요.
프로젝트 대시보드
프로젝트에서 각 기능을 설정하고 현재 데이터를 관리하세요.
빠른 통합
거래소
동영상 준비 중
원본 인벤토리 아이템을 명시적인 통화와 수수료로 거래하고 반환을 보호합니다.
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.
}이 예시는 Unity SDK(C#)와 REST API를 사용합니다. Godot과 Unreal도 각자의 SDK에서 같은 호출을 제공합니다: 퀵스타트 보기
