From 2336d5e71a6ed9c00f9a86c29d7aa33b9a1e38d5 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 23 七月 2025 10:44:27 +0800
Subject: [PATCH] 122 子 【武将】武将系统 / 【武将】武将系统-客户端 - 武将变化

---
 Main/Component/UI/Common/FontSwitch.cs |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/Main/Component/UI/Common/FontSwitch.cs b/Main/Component/UI/Common/FontSwitch.cs
index 997a11d..d82cc72 100644
--- a/Main/Component/UI/Common/FontSwitch.cs
+++ b/Main/Component/UI/Common/FontSwitch.cs
@@ -15,16 +15,15 @@
     [ExecuteAlways]
     private void Awake()
     {
-        // TODO YYL
-        // switch (m_FontType)
-        // {
-        //     case FontType.Preferred:
-        //         text.font = FontUtility.preferred;
-        //         break;
-        //     case FontType.Secondary:
-        //         text.font = FontUtility.secondary;
-        //         break;
-        // }
+        switch (m_FontType)
+        {
+            case FontType.Preferred:
+                text.font = FontUtility.preferred;
+                break;
+            case FontType.Secondary:
+                text.font = FontUtility.secondary;
+                break;
+        }
     }
 
     public enum FontType

--
Gitblit v1.8.0