少年修仙传客户端基础资源
hch
2025-04-01 175ec07bc546ee54e0952fb3a23d30f016775d7f
0312 工具转化默认字体
1个文件已修改
3 ■■■■ 已修改文件
Assets/Editor/Tool/ChangeTextAndImage.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Tool/ChangeTextAndImage.cs
@@ -64,7 +64,6 @@
            }
            var textContent = text.text;
            var textFont = text.font;
            var textFontSize = text.fontSize;
            //删除Text
@@ -72,7 +71,7 @@
            TextEx textEx = go.AddMissingComponent<TextEx>();
            textEx.text = textContent;
            textEx.font = textFont;
            textEx.font = FontUtility.preferred;
            textEx.fontSize = textFontSize;
            textEx.raycastTarget = false;
            textEx.alignment = TextAnchor.MiddleCenter;