Here are the requirements-
- I have an Array of Strings.
- Doing Array Push in that.
- Now I want to store the item in PlayerPrefX
What I did is-
var storedScoresArr:Array = new
storedScoresArr); // Gives Error
I know if I do like the following, it will work; but cant do an Array Push.-
var storedScoresArr:String = [“abc”, “xyz”]; // it will work
doesn’t support ARRAY PUSH
Please help with any workaround or if there is any way to convert the Array to String just before storing in PlayerPrefsX.