Пример #1
0
    void showLimitIncreace(int lastRound, int thisRound)
    {
        int        roundInd = thisRound - 1;
        ResourceUI rui      = FindObjectOfType <ResourceUI>();

        rui.setLimitIncrease(roundInd < maxSpendLimit.Length ? maxSpendLimit[roundInd] : false);
        rui.setMaxIncrease(roundInd < maxCapacity.Length ? maxCapacity[roundInd] : false);
    }