我使用 GUI 统一显示此文本:
GUI.Label(Rect(430,320,500,500),"Win");
GUI.Label(Rect(400,470,500,500),"Your scores :" +player_script.points);
我想让文字像这样:
我使用 GUI 统一显示此文本:
GUI.Label(Rect(430,320,500,500),"Win");
GUI.Label(Rect(400,470,500,500),"Your scores :" +player_script.points);
我想让文字像这样:
像这样修改你的gui代码
GUI.Label(Rect(430,320,500,500),"<color=green><size=100>Win</size></color>");
GUI.Label(Rect(400,470,500,500),"<color=green><size=35>Your scores : </size></color>"+"<color=black><size=35>"+player_script.points+"</size></color>");
另外,如果您想更改字体类型,那么您可以尝试这个丰富的标签,让我知道它是否有效
<font face="verdana">....</font>