playMaker

Author Topic: Pay to Remove Ads  (Read 69 times)

kentcheung2000

  • Playmaker Newbie
  • *
  • Posts: 37
    • View Profile
Pay to Remove Ads
« on: May 17, 2019, 03:52:50 PM »
Hi,

I just built a game with playmaker only.   I want it to be free with ads,  and add a feature to pay to remove advertisement.  How I can do it?....

KC

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 963
    • View Profile
    • Fat Pug Studio
Re: Pay to Remove Ads
« Reply #1 on: May 18, 2019, 10:05:39 AM »
When the player pays, set PAID bool to true and save it to be persistent (payerprefs, easy save...). Every time you want to play the ad, test PAID bool. If it's true, skip the ad, if it's false, play it.

PlaymakerNOOB

  • Full Member
  • ***
  • Posts: 163
    • View Profile
Re: Pay to Remove Ads
« Reply #2 on: May 19, 2019, 08:20:27 AM »