// Start is called before the first frame update
    void Start()
    {
        inventory = InventoryPocket.instance;
        inventory.onItemChangedCallBack += UpdateUI;

        pocketslots = pocketItemsParent.GetComponentsInChildren <InventorySlot>();
    }
 private void Awake()
 {
     if (instance != null)
     {
         Debug.LogWarning("More than one instance of inventory found !");
         return;
     }
     instance = this;
 }