//这是UGUI改变字体颜色的写法------------------------------------------------------------------> //m_label.text = "<color=#00FF00>你好</color><color=#FFFF00>世界</color>"; //<--------------------------------------------------------------------------------------- //下面的是NGUI改变字体的颜色的写法 m_label.text = "[FF0000]" + "你好!" + "[00FF00]" + "字体[-]" + "终于好了!"; m_label.fontSize = 36;