unity : soomla restoreTransaction リストア処理

non consumable item がある時、購入済みか確認。

起動時に自動でチェックしてみたら、アカウント、パスワードのリクエストがあるので駄目でした。
(駄目ではないけど購入しない人にとっては邪魔)

チェック開始は
SoomlaStore.RestoreTransactions ();

開始終了のイベント確認はhandlerの
public void onRestoreTransactionsStarted() {}
public void onRestoreTransactionsFinished(bool success) {}

内で処理する必要のある物は処理する。

This entry was posted on 金曜日, 7月 25th, 2014 at 10:43 AM and is filed under unity. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。