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

Save PlayerPrefs on application exit?

$
0
0
Hey! I've been working on this for almost 2 weeks now, and it STILL won't work! Can someone tell me what I'm doing wrong? // Use this for initialization void Awake () { PlayerPrefs.GetInt("level", 0); } private void OnApplicationQuit() { PlayerPrefs.SetInt("level", Level); PlayerPrefs.Save(); }

Viewing all articles
Browse latest Browse all 1333

Trending Articles



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