Пример #1
0
 public void SetMultiplier(int multiplier, Color color)
 {
     mode       = ComboWidgetMode.Multiplier;
     text.text  = "x" + multiplier;
     text.color = color;
     if (text2 != null)
     {
         text2.color = color;
     }
 }
Пример #2
0
 public void SetScore(long score, Color color)
 {
     mode       = ComboWidgetMode.Score;
     text.text  = "+" + score.ToString("N0");
     text.color = color;
     if (text2 != null)
     {
         text2.color = color;
     }
 }