「Unity/課金/インストール」の版間の差分
ナビゲーションに移動
検索に移動
| 8行目: | 8行目: | ||
==Android(Google)を使う場合== | ==Android(Google)を使う場合== | ||
#GooglePublicKeyはGooglePlayDeveloperページの全てのアプリ/該当アプリ/サービスとAPI/ライセンスとアプリ内課金にあるので貼り付ける | #GooglePublicKeyはGooglePlayDeveloperページの全てのアプリ/該当アプリ/サービスとAPI/ライセンスとアプリ内課金にあるので貼り付ける | ||
#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はエラーが出るとき=== | ===please enter your google public key for this application to ensure revenue numbers reflect verflect verified payments for googleはエラーが出るとき=== | ||
#GooglePublicKeyはGooglePlayDeveloperページの全てのアプリ/該当アプリ/サービスとAPI/ライセンスとアプリ内課金にあるので貼り付ける | #GooglePublicKeyはGooglePlayDeveloperページの全てのアプリ/該当アプリ/サービスとAPI/ライセンスとアプリ内課金にあるので貼り付ける | ||
===generated/GooglePlayTangle.csがないとエラーが出る時=== | |||
#unityメニュー/Window/Unity IAP/Receipt Validation Obfuscator からGooglePublicKeyを設定する | |||
===権限=== | ===権限=== | ||
2020年7月3日 (金) 11:07時点における版
マニュアル
公式マニュアル:https://docs.unity3d.com/ja/current/Manual/UnityIAP.html
課金サービスをONに
- unityメニュー/windows/Services/ In-App Purchasing を選択
- import(googleやappleなどのプラグイン)ボタンをクリックする
Android(Google)を使う場合
- GooglePublicKeyはGooglePlayDeveloperページの全てのアプリ/該当アプリ/サービスとAPI/ライセンスとアプリ内課金にあるので貼り付ける
- 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はエラーが出るとき
- GooglePublicKeyはGooglePlayDeveloperページの全てのアプリ/該当アプリ/サービスとAPI/ライセンスとアプリ内課金にあるので貼り付ける
generated/GooglePlayTangle.csがないとエラーが出る時
- unityメニュー/Window/Unity IAP/Receipt Validation Obfuscator からGooglePublicKeyを設定する
権限
com.android.vending.BILLING が追加される
参考
https://docs.unity3d.com/ja/current/Manual/UnityIAPSettingUp.html