Not sure if I’m missing something here, but I’ve tried multiple different ways of doing this and my only explanation is that the timer must not be triggering.
This code is supposed to set a timer so that when an ad is shown, it will make the “skip level button” 50% alpha and show an alert letting you know you can only skip levels every 60 seconds (because interstitial ads only show every 60). Everything works fine until you switch between levels, then it stops working. At first I thought it was something with the ad block but on this example nothing is attached after the ad so it should work fine. Anyone have any ideas? Thanks!