Quantcast
Channel: Questions in topic: "playerprefs"
Viewing all articles
Browse latest Browse all 1333

Unity ads player pref problem

$
0
0
I want to do skins which can be unlocked with rewarded ads. I use player prefs to do that. I covered button with panel. On panel you can click to button to watch ad and disable that panel to use skin. I did this for 4 skins. However, when I click one of them, all panels get disabled. I don't have any idea why is that happens. Like, I tested it with Debug.Log and saw that, 1st button must set int to 1, instead of 1 it sets to 4. With that all panels get disabled. Please help

Viewing all articles
Browse latest Browse all 1333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>