マーケット

マーケット

プロジェクト共通の出品を通じてアイテムを取引します。

無料で始める

マーケット

プロジェクト共通の出品を通じてアイテムを取引します。

SDK と REST

Unity、Godot、Unreal と統合するか、REST インターフェースを使えます。

プロジェクトのダッシュボード

プロジェクトで各機能を設定し、現在のデータを管理できます。

クイック統合

クイック統合

マーケット
動画は近日公開

元のインベントリアイテムを、明示した通貨と手数料、保護された返却処理で取引します。

クイック統合
Unity (C#)
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で同じ呼び出しができます: クイックスタートを参照

よくある質問

よくある質問

統合の準備はできましたか?

horizOn で今日からゲームバックエンドを構築しましょう。無料プラン付き。