I’m getting an Identifier Expected error and I don’t understand why. I’d appreciate if someone could explain where I’ve messed up here.
Here is the code:
void Start()
{
ArrayList scoresArray = new ArrayList();
for (int i = 0; i < 10; i++)
{
scoresArray.(PlayerPrefs.GetString("Highscore" + i));
}
}