当前位置:网站首页>Display Chinese characters in uitoolkit
Display Chinese characters in uitoolkit
2022-07-26 06:39:00 【Listening star】
This paper addresses :https://blog.csdn.net/t163361/article/details/125927276
Paraphrase
I used to use Unity Of UIToolkit Made an encryption tool , Recently, it has been simply improved to make it easy to use .
After the function is completed, it is found that Chinese cannot be displayed . It seems that Chinese can't be displayed before , It was just not handled at that time .
Tried various methods and finally found a temporary solution .
Unity The version is 2021.3.6f1c1
from Unity2021.3 Start ,UIToolkit It's built in , Can be made Editor An extension of , You can also make a real-time interface . Very suitable for making tools , Making a game interface is not very suitable .
Display Chinese character solution :
1. Add a set of Chinese character library , For example, Alibaba's inclusive sports , Fonts need to be placed Resources/Font & Materials/ Under the folder
2. Original font Character Need to change to Dynamic
3. The menu Window->Text->Font Asset Creator
Character Set To select Custom Characters, Then copy the commonly used Chinese characters and characters to Custom Character List in 
4. Click on Generater Font Atles Generate texture , Then save
5. stay UIBuilder Select the element that needs to change the font ,Font Asset Just choose the font you just set .
UIToolkit Not available in TMP The font of , But the words just created in that way seem to be similar to TMP It should be the same . Not in depth
Demo Examples of demonstrations can be seen This article
Problem retention :
Although my font library and font resources are set to dynamic generation , But this method can only support the generation of good words in advance , It's not clear why it can't be generated dynamically . There is a great God who knows , Please leave a message to inform , Thank you for
边栏推荐
- 【无标题】
- What is the concept and purpose of white box testing? And what are the main methods?
- 『牛客|每日一题』逆波兰表达式
- Advanced C language - archived address book (file)
- 『期末复习』16/32位微处理器(8086)基本寄存器
- [day02_0419] C language multiple choice questions
- 少儿编程 电子学会图形化编程等级考试Scratch一级真题解析(选择题)2022年6月
- What are the aspects of performance testing? What are the classification and testing methods?
- [day06_0423] C language multiple choice questions
- 力扣5: 最长回文子串
猜你喜欢

Do you think you are a reliable test / development programmer? "Back to the pot"? Surface and reality
![[image hiding] digital image watermarking method technology based on hybrid dwt-hd-svd with matlab code](/img/2a/b5214e9fa206f1872293c9b9d7bdb6.png)
[image hiding] digital image watermarking method technology based on hybrid dwt-hd-svd with matlab code

Heap sort

『牛客|每日一题』 栈的压入、弹出序列

Vision Transformer 必读系列之图像分类综述

Facing the rebound market, how do we operate? 2020-03-21

Sorting problem: bubble sort, select sort, insert sort

带你搞透IO多路复用原理(select、poll和epoll)

Do it yourself smart home: intelligent air conditioning control

将一个正整数分解质因数,要求分解成尽可能小的多个的因数。
随机推荐
使用Scanner从键盘获取多种数据类型
Go的map字典及约束
IP day 10 notes - BGP
快速排序(quick-sort)
Map dictionary and constraints of go
Open includeexceptiondetailinfaults on the server (from servicebehaviorattribute or from & lt; servicedebug & gt; to configure behavior) to send exception information back
Force deduction 5: Longest palindrome substring
Merge_sort
Use scanner to get multiple data types from the keyboard
[pytorch] fine tuning technology
[day05_0422] C language multiple choice questions
JS date details, string to date
@ConstructorProperties注解理解以及其对应使用方式
【pytorch】CNN实战-花朵种类识别
MySQL基础篇(二)-- MySQL 基础
What are the aspects of performance testing? What are the classification and testing methods?
C语言进阶——可存档通讯录(文件)
Conda 虚拟环境envs目录为空
Go 的切片与数组
nuxt 配置主题切换