Files
Travel_Run/Assets/Scripts/Flow/GameSaveData.cs
T
2026-06-24 15:34:09 +09:00

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
};
}
}