From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/Component/UI/Common/UITextReplace.cs | 25 ++++++++++++-------------
1 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/Main/Component/UI/Common/UITextReplace.cs b/Main/Component/UI/Common/UITextReplace.cs
index 2c2c161..167f057 100644
--- a/Main/Component/UI/Common/UITextReplace.cs
+++ b/Main/Component/UI/Common/UITextReplace.cs
@@ -3,21 +3,20 @@
using UnityEngine;
using UnityEngine.UI;
using System;
-namespace vnxbqy.UI
+
+
+//鍙敤浜嶵ext缁勪欢锛岃ˉ鍏呰缃枃鏈紝璇诲彇鐨勬槸Y.璇█琛�;娓告垙杩愯浼氳缃枃鏈唴瀹�
+public class UITextReplace : MonoBehaviour
{
- //鍙敤浜嶵ext缁勪欢锛岃ˉ鍏呰缃枃鏈紝璇诲彇鐨勬槸Y.璇█琛�;娓告垙杩愯浼氳缃枃鏈唴瀹�
- public class UITextReplace : MonoBehaviour
- {
- [SerializeField] string language;
+ [SerializeField] string language;
- private void Awake()
- {
- var textObj = this.transform.GetComponent<Text>();
- if (textObj == null)
- return;
+ private void Awake()
+ {
+ var textObj = this.transform.GetComponent<Text>();
+ if (textObj == null)
+ return;
- textObj.text = Language.Get(language);
- }
-
+ textObj.text = Language.Get(language);
}
+
}
--
Gitblit v1.8.0