Example #1
0
    FixInventory inventory;        // Our current inventory

    void Start()
    {
        inventory = FixInventory.instance;
        if (inventory == null)
        {
            Debug.Log("No Inventory found !!!");
        }
        inventory.onItemChangedCallback += UpdateUI;
    }
Example #2
0
 void Awake()
 {
     instance = this;
 }