public void RemoveItem(InteractableObject.itemType type)
 {
     for (int i = 0; i < Inventory.Length; i++)
     {
         try
         {
             if (Inventory[i].Type == type)
             {
                 // remove this item
                 Inventory[i] = null;
             }
         }
         catch (NullReferenceException e)
         {
             Debug.Log(e.Message);
         }
     }
 }
 public bool Contains(InteractableObject.itemType type)
 {
     foreach (ItemType i in Inventory)
     {
         try
         {
             if (i.Type == type)
             {
                 return(true);
             }
         }
         catch (NullReferenceException e)
         {
             /*Debug.Log(e.Message);*/
         }
     }
     return(false);
 }