Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

not resetting the death count on reload

$
0
0
I have a death counter that each 3 deaths the death resets to 0 and a revmob ad is displayed. but when i reset the level the death count also resets, i tried making it static but it keeps counting after 3 and doesn't resets. I thought using PlayerPref but I'm not sure how efficient that is and I didn't test it, can somebody shed a light upon my problem? private int death; death ++; Debug.Log (death); if (death == 3) { revmob.ShowFullscreen (); death = 0;

Viewing all articles
Browse latest Browse all 1416

Trending Articles