Пример #1
0
    void BuyMoreSupply(Dictionary <string, int> supplyOrder, string veg)
    {
        _supply.AddStorage(veg, supplyOrder[veg]);

        /*var currentOrder = GameObject.Find("OrderSupplyMenu").gameObject.GetComponent<BuyMenu2>()._totalOrder;
         * foreach (KeyValuePair<string, int> product in currentOrder)
         * {
         *      _supply.AddStorage(product.Key, product.Value);
         *
         * }*/
    }