private void Awake()
    {
        if (instance != null)
        {
            Destroy(instance);
        }

        instance = this;
    }
    // Constructor for this class which specifies how we get the data for the above fields
    // specify which scripts you want to access the data from as arguments
    // not dealing with shop yet, but remember to add in all the fields for shop when we have a shop
    public itemData(Inventory inventory, itemManager placedItems)
    {
        inventoryList = inventory.items;        // simply take the list of inventory items in inventory and store it here. Will call the add function on inventory to add it back to inventory at the start of the game
        // shopList = shop.shopItems;

        int numSlots = System.Enum.GetNames(typeof(ItemType)).Length;   // make it the same sized array as currentlyPlaced

        placedList = new Item[numSlots];
        placedList = placedItems.currentlyPlaced;           // not sure if we can just equate them, but if this fails, we use a for loop
    }
 void Start()
 {
     source  = GameObject.FindGameObjectWithTag("itemManager").GetComponent <AudioSource>();
     manager = GameObject.FindGameObjectWithTag("itemManager").GetComponent <itemManager>();
 }