I am trying to make a puzzle game in which there are 3 Game Modes (Normal mode,Timer Mode, Taps Mode) and 50 levels. All 50 levels are same for all 3 modes but in timer timer mode there is countdown timer and and in taps mode there are both timer and taps. And in normal mode there is no restriction.
Now I am saving each level according to modes in PlayerPrefs.
I am not locking the levels at all but Timer mode and Taps Mode are locked. Only normal Mode is unlocked.
Now here is what I want. To unlock timer mode first play any 10 normal mode levels and to unlock tap mode first play any 10 timer mode levels.
How to keep track how many levels are completed.
Here is code this is how i am saving each level after completi
if (isNormalMode) {
PlayerPrefs.SetString ("norm"+levelStr, levelStr);
}
if (isTimerMode) {
PlayerPrefs.SetString ("timer"+levelStr, levelStr);
}
if (isTapsMode) {
PlayerPrefs.SetString ("taps"+levelStr, levelStr);
}