void AddItem()
 {
     //Creates a new Scriptable object item called inventoryItem
     inventoryItem = CreateInventoryItem.Create();
     //Sets the name of the Scriptable object item
     inventoryItem.itemName = "New Item";
     //Adds the item to the inventory
     inventoryItemList.itemList.Add(inventoryItem);
     //Increases the count of the inventory
     viewIndex = inventoryItemList.itemList.Count;
 }