2021年5月11日

unity 字体设置

摘要: //字体居中 sunOBJ.GetComponent<Text>().alignment = TextAnchor.MiddleCenter; //字体30号 sunOBJ.GetComponent<Text>().fontSize = 30; //字体颜色 sunOBJ.GetComponent< 阅读全文

posted @ 2021-05-11 09:59 zqiang0803 阅读(364) 评论(0) 推荐(0) 编辑

导航