Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Declan

Junior Member
Registered:
Posts: 9
Reply with quote  #1 
I cant for the life of me figure out how to do it on android which is the only store im on at the moment. I just want to set up a simple remove adds button for one of my games but I have no idea I have the prime 31 package. Can anyone send me some example of how to set it up it would be greatly appreciated.

Thanks folks.
0
NKY-Games

Avatar / Picture

Registered:
Posts: 208
Reply with quote  #2 
Hi Declan,

Well, I would suggest encapsulating your ad calls in a if statement with a boolean to let ads be called or not. I mean something like:

if(!AdsAreOff)
{
  adNetwork.ShowAd();
}

So that if a player buys a no ads in game item, all you do is set the bool to true. (by using playerPrefs they will be saved even when quiting) if you need more saving functions look into serializing.

Cheers

__________________
Come visit me at @ http://www.nkygames.com
0
Declan

Junior Member
Registered:
Posts: 9
Reply with quote  #3 
This post is over a year old I appreciate the response I figured it out about a year ago though thankyou.[biggrin]
0
NKY-Games

Avatar / Picture

Registered:
Posts: 208
Reply with quote  #4 
Oh well! XD
I saw it had been posted on the 28th feb, so I thought it woulds still be of interrest.


__________________
Come visit me at @ http://www.nkygames.com
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.