public void SetMultiplier(int multiplier, Color color) { mode = ComboWidgetMode.Multiplier; text.text = "x" + multiplier; text.color = color; if (text2 != null) { text2.color = color; } }
public void SetScore(long score, Color color) { mode = ComboWidgetMode.Score; text.text = "+" + score.ToString("N0"); text.color = color; if (text2 != null) { text2.color = color; } }