Beispiel #1
0
    private void Start()
    {
        string itemName = order.GetItemDisplayName();

        desc.text = order.amount + " " + itemName + " for " + MoneyController.symbol + order.ExchangeValue().ToString("n2");
        Sprite spr = ResourcesDatabase.GetSprite(itemName);

        if (spr != null)
        {
            image.sprite = spr;
        }

        UpdateButton(trade.ContainsDeal(order));
    }