MonsterShop/Assets/Scripts/DataPersistence/Data/GameData.cs

20 lines
433 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class GameData
{
public long lastUpdated;
public PlayerData player = new PlayerData();
public List<ShelfData> shelves = new List<ShelfData>();
// the values defined in this constructor will be the default values
// the game starts with when there's no data to load
public GameData()
{
}
}