Unity InApp Purchase & Unity Advertising Settings Guide · So if you change product detail in Unity...

8
Unity InApp Purchase & Unity Advertising Settings Guide

Transcript of Unity InApp Purchase & Unity Advertising Settings Guide · So if you change product detail in Unity...

Unity InApp Purchase & Unity Advertising Settings Guide

Unity Advertising Service Settings

This project is ready to use Unity advertising service.

First switch project to ANDROID or IOS platform

then setup service https://unity3d.com/services/ads/quick-start-guide once done the service panel should looks like:

To set how much weapons ammunitions value to add each rewarded video viewed by the player, open “WeponsAndFeaturesController” script here:

then set const values here:

to set how many weapons ammunitions give to player at game install, same script, set values here:

In-App Purchase Service Settings

Before start using in-app you must activate In-App Purchase Unity Services.

To activate start clicking on In-App Purchasing button

Do Not Import In-App package, it is already in the project

Once service is activated you have to set products Id value etc…, we’ve already done for you, you can view using Menu command:

as you can see, all products detail are settled.

Very Important!

To let the system works those values must reflect values in “”

“WeponsAndFeaturesController” script here:

So if you change product detail in Unity In-App Purchase Catalog you must also modify definition here.

Of course what you have to change are product prices, we just put the lower one.

At the end your Unity Services Panel, must look like this: