【Unity】GetComponent<Text>().color : テキスト色変更

テキストの色を変更する。

//赤
gameObject.GetComponent<Text>().color = new Color(1, 0, 0, 1);