- Home /
Question by
Ekta-Mehta-D · Apr 12, 2013 at 12:56 PM ·
highscoresarrayprefs
ArrayPrefs2
I want to store int array of highscore using ArrayPrefs2.. I want to manage highscore for perticular level..
For that i have tried something like this. but its not working..
function SaveDate()
{
PlayerPrefsX.SetIntArray ("highScorelist",highScoreList);
}
function LoadData()
{
highScoreList = PlayerPrefsX.GetIntArray ("highScorelist" , -1 ,10);
}
But its not correct.. Anyone pleaze guide me to manage highscore..
Pleaze help me..
Thanks for your support and help..
Comment
Do you have the script http://wiki.unity3d.com/index.php/ArrayPrefs2 somewhere on your system?
Answer by samf1111 · Jul 20, 2020 at 12:01 AM
the code provided with playerprefsX difined it. you need that code.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
High Score not retrieving 2 Answers
how to save and retreive high score.... 4 Answers
Does ArrayPrefs2 stores data on disk ? 0 Answers