Пример #1
0
    void SetDescription(int val1)
    {
        int padej = Padej.GetPadej(val1);

        switch (gift.type)
        {
        case Gift.GiftType.Money: description.text = "+" + val1 + " " + TextStrings.GetString("valuta");  break;

        case Gift.GiftType.Booster1: description.text = "+" + val1 + " " + TextStrings.GetString("tuning_set_" + padej); break;

        case Gift.GiftType.Booster2: description.text = "+" + val1 + " " + TextStrings.GetString("full_tank_" + padej);  break;

        case Gift.GiftType.Booster3: description.text = "+" + val1 + " " + TextStrings.GetString("additional_rates_" + padej); break;

        case Gift.GiftType.Bonus: description.text = "+" + val1 + " " + TextStrings.GetString("bonus_" + padej); break;
        }
    }
Пример #2
0
 protected override string Description()
 {
     return(taskValue.GetFullText(0) + " " + attempts + " " + taskValue.GetFullText(Padej.GetPadej(attempts)));
 }
Пример #3
0
 protected override string Description()
 {
     return(taskValue.GetFullText(0) + " " + fullCount + " (" + lastCount + ") " + taskValue.GetFullText(Padej.GetPadej(fullCount)));
 }
Пример #4
0
 protected override string Description()
 {
     return(taskValue.GetFullText(0) + " " + fullCountInCombo + " " + taskValue.GetFullText(Padej.GetPadej(fullCountInCombo)));
 }