facebook twitter hatena line email

Unity/課金/インストール

提供: 初心者エンジニアの簡易メモ
2020年7月3日 (金) 20:07時点におけるAdmin (トーク | 投稿記録)による版 (Android(Google)を使う場合)

移動: 案内検索

マニュアル

公式マニュアル:https://docs.unity3d.com/ja/current/Manual/UnityIAP.html

課金サービスをONに

  1. unityメニュー/windows/Services/ In-App Purchasing を選択
  2. import(googleやappleなどのプラグイン)ボタンをクリックする

Android(Google)を使う場合

  1. GooglePublicKeyはGooglePlayDeveloperページの全てのアプリ/該当アプリ/サービスとAPI/ライセンスとアプリ内課金にあるので貼り付ける
  2. unityメニュー/Window/Unity IAP/Receipt Validation Obfuscator からGooglePublicKeyを設定すると、generated/GooglePlayTangle.csができる。

please enter your google public key for this application to ensure revenue numbers reflect verflect verified payments for googleはエラーが出るとき

  1. GooglePublicKeyはGooglePlayDeveloperページの全てのアプリ/該当アプリ/サービスとAPI/ライセンスとアプリ内課金にあるので貼り付ける

generated/GooglePlayTangle.csがないとエラーが出る時

  1. unityメニュー/Window/Unity IAP/Receipt Validation Obfuscator からGooglePublicKeyを設定する

権限

com.android.vending.BILLING が追加される

参考

https://docs.unity3d.com/ja/current/Manual/UnityIAPSettingUp.html