Exemplo n.º 1
0
    public void UpdateFinanceUI(TMPro.TMP_Text textUI)
    {
        float financeAmount = 0;

        if (finances.historySpent.Count > 1)
        {
            financeAmount = finances.historySpent[finances.historySpent.Count - 1];
        }
        SyncUISystem.formatStringUI(textUI, financeAmount);
    }
Exemplo n.º 2
0
    public void UpdateDailyDeadUI(TMPro.TMP_Text textUI)
    {
        int dailyDead = 0;

        if (MapSystem.territorySelected.historyDeath.Count > 1)
        {
            dailyDead = MapSystem.territorySelected.historyDeath[MapSystem.territorySelected.historyDeath.Count - 1];
        }
        SyncUISystem.formatStringUI(textUI, dailyDead);
    }
Exemplo n.º 3
0
    public void UpdateCumulDeadUI(TMPro.TMP_Text textUI)
    {
        int cumulDead = 0;

        if (MapSystem.territorySelected.cumulativeDeath.Count > 1)
        {
            cumulDead = MapSystem.territorySelected.cumulativeDeath[MapSystem.territorySelected.cumulativeDeath.Count - 1];
        }
        SyncUISystem.formatStringUI(textUI, cumulDead);
    }
Exemplo n.º 4
0
 public void UpdateMasksUI(TMPro.TMP_Text textUI)
 {
     SyncUISystem.formatStringUI(textUI, vaccine.nationalStock);
 }