Persatuan mengubah warna teks
// To change the color of a text, see below
GameObject.GetComponent<Text>().color = Color.black;
SkelliBoi
// To change the color of a text, see below
GameObject.GetComponent<Text>().color = Color.black;
Color color = new Color(red,green,blue,alpha)//Alpha 0 is transparent
Color color = new Color(red,green,blue,alpha)// 0 to 1 values
new Color(0, 37/255f, 254/255f);