FixInventory inventory; // Our current inventory void Start() { inventory = FixInventory.instance; if (inventory == null) { Debug.Log("No Inventory found !!!"); } inventory.onItemChangedCallback += UpdateUI; }
void Awake() { instance = this; }