当前位置:网站首页>Unity3d change item font

Unity3d change item font

2022-06-09 06:09:00 about...

Problems encountered in development :

When it comes to game development , The font at the beginning of the project may not be able to adapt to all the later updates UI, And change the font hastily , Every label Adjust separately , It will bring a lot of work , It will be full of loopholes .

Solution :

1. Architecture design
Try to use Microsoft YaHei to adapt to everything UI The font of


2. Change scheme

Once before , The way is that each label Adjust separately , Big workload , Easy to miss , This method does not recommend .

Then I wonder if I can replace the texture , Change it to the same name , Replace resource font , The answer is OK, This way you can change the font at will .


Of course , If you're using a unity default font , You can modify it directly in the editor , There are many online tutorials .

原网站

版权声明
本文为[about...]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206090559519256.html