29 lines
705 B
C#
29 lines
705 B
C#
using System;
|
|
|
|
[Serializable]
|
|
public class GameSaveData {
|
|
public int currentMapIndex;
|
|
public int unlockedMapIndex;
|
|
public int totalMileage;
|
|
public int bagSlots;
|
|
public int shieldStock;
|
|
public int lunchboxStock;
|
|
public int speedShoesStock;
|
|
public int mileageCardStock;
|
|
public int bestScore;
|
|
|
|
public static GameSaveData CreateDefault() {
|
|
return new GameSaveData {
|
|
currentMapIndex = 0,
|
|
unlockedMapIndex = 0,
|
|
totalMileage = 0,
|
|
bagSlots = 1,
|
|
shieldStock = 0,
|
|
lunchboxStock = 0,
|
|
speedShoesStock = 0,
|
|
mileageCardStock = 0,
|
|
bestScore = 0
|
|
};
|
|
}
|
|
}
|