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