Loading Unity Ads after certain number of deaths (708998)

Hi all,

I am a self taught novice game maker, i have managed to build a game i am happy with using different guides and bits of coding from tutorials.
I am ready to release the game but i can only gets Ads to load on every death or using a countdown, this will be far to often.
I would like to play a Ad after 3 or 5 deaths (not sure of exact number yet)
I have googled this question and found a couple of responses but cant implement them into my game.

Will someone please come to my rescue and save me, i have been stuck on this issue to days.
I have attached my Player and Game Manager script which has the death coding in

Thanks in advance and please explain in detail as I’m still learning

Lee

3572569–288242–TapController.cs (1.94 KB)
3572569–288243–GameManager.cs (2.21 KB)

Hi,

Did you see How to make unity ads show every 3 death? Please be specific, thank you. - Unity Services - Unity Discussions ?

Good luck with your game :slight_smile:

/Rasmus

Hi Rasmus and thank you for taking the time to reply.

I have seen and tried everything in that post and i could get nothing to work.

I made a Ads script with the code you provided and it did nothing, i tried using all the other codes mentioned and nothing happened.
Do i need to add anything into the 2 scripts i have provided in my original post.

Please help me i am soo close and i really want to understand what I’m doing wrong

Many Thanks