summaryrefslogtreecommitdiff
path: root/ROUNDS/SetTextColor.cs
blob: 16e8a7060d724e30c803a3ae273506a2a2f6053b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using TMPro;
using UnityEngine;

public class SetTextColor : MonoBehaviour
{
	public Color[] colors;

	public void SetColor(int id)
	{
		GetComponent<TextMeshProUGUI>().color = colors[id];
	}
}