Esempio n. 1
0
    public void SetItem(Gossip gossip)
    {
        _gossip                  = gossip;
        GossipNameText.text      = gossip.Name();
        GossipRelevanceText.text = "- " + gossip.FreshnessString() + " (" + gossip.Freshness + " days left)";
        Sprite factionSprite;

        _factionSymbolList.TryGetValue(gossip.Faction, out factionSprite);
        GossipIcon.sprite = factionSprite;
    }