- Home /
Read PlayerPrefs in Start()?
For initial authentication, where should an app try reading PlayerPrefs data? in Start()? or another clause?
Does this vary depending on platform? Would it be a different location in mobile vs desktop?
Answer by Bunny83 · Jun 18, 2011 at 03:32 AM
authentication? I'm not sure what you mean but you can read PlayerPref(erence)s anytime you like.
The useage of PlayerPref should be equal on all platforms.
I suggest to actually read what is written on this page. PlayerPrefs is a method to transparently store preferences, it actually shouldn't matter where it's stored.
Ah - it looks like my playerprefs were never written due to www variables having not loaded before deactivation. adding a yield coroutine fixed it!
Your answer
Follow this Question
Related Questions
Saving data 1 Answer
PlayerPrefs to store a huge binary on mobile iOS Android 1 Answer
Datasource for C# Android game 0 Answers
Where to save player progress? 0 Answers