본문 바로가기
Unity3D/Unity & C#

string 변수에 색상 넣기

by 캬캬백곰 2022. 3. 29.
728x90
string message = "<color=green>Message : </color>" + "메세지";

color = green 값에 다른 값을 넣으면 색상이 변경됨.

ex) <color=red></color> , <color=#hex></color> 등

728x90
반응형