using System; [System.Serializable] public class PlayerData { public InventoryData inventory = new InventoryData(); }