From 4423c7ccd91fe8f5a2add738fa5c77e4452f2cf5 Mon Sep 17 00:00:00 2001 From: YL Date: Wed, 2 Apr 2025 17:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9AR=E5=AE=A0=E7=89=A9=E8=AF=86?= =?UTF-8?q?=E5=88=ABUI=EF=BC=8C=E5=AE=8C=E5=96=84=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UIARPetRecognitionWindow.prefab | 4 +- .../UIARPetRecognitionWindow.cs | 46 +++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/EintooAR/Assets/AssetRaw/UI/YL/UIARPetRecognitionWindow/UIARPetRecognitionWindow.prefab b/EintooAR/Assets/AssetRaw/UI/YL/UIARPetRecognitionWindow/UIARPetRecognitionWindow.prefab index 29928f80..b97efb85 100644 --- a/EintooAR/Assets/AssetRaw/UI/YL/UIARPetRecognitionWindow/UIARPetRecognitionWindow.prefab +++ b/EintooAR/Assets/AssetRaw/UI/YL/UIARPetRecognitionWindow/UIARPetRecognitionWindow.prefab @@ -149,7 +149,7 @@ GameObject: - component: {fileID: 6600081991818796871} - component: {fileID: 5692120870677579763} m_Layer: 5 - m_Name: Type + m_Name: m_tmptextType m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -1206,7 +1206,7 @@ GameObject: - component: {fileID: 5001991808430061394} - component: {fileID: 5056802328997227042} m_Layer: 5 - m_Name: Zone + m_Name: m_tmptextZone m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/EintooAR/Assets/GameScripts/HotFix/GameLogic/YL/UI/UIARPetRecognitionWindow/UIARPetRecognitionWindow.cs b/EintooAR/Assets/GameScripts/HotFix/GameLogic/YL/UI/UIARPetRecognitionWindow/UIARPetRecognitionWindow.cs index 6531dfec..de443941 100644 --- a/EintooAR/Assets/GameScripts/HotFix/GameLogic/YL/UI/UIARPetRecognitionWindow/UIARPetRecognitionWindow.cs +++ b/EintooAR/Assets/GameScripts/HotFix/GameLogic/YL/UI/UIARPetRecognitionWindow/UIARPetRecognitionWindow.cs @@ -2,6 +2,8 @@ using Cysharp.Threading.Tasks; using UnityEngine; using UnityEngine.UI; using TEngine; +using TMPro; +using System.Security.Policy; namespace GameLogic { @@ -10,12 +12,16 @@ namespace GameLogic { #region 脚本工具生成的代码 private Button m_btnSelectType; + private TextMeshProUGUI m_tmptextType; private Button m_btnSelectZone; + private TextMeshProUGUI m_tmptextZone; private Button m_btnSure; protected override void ScriptGenerator() { m_btnSelectType = FindChildComponent