From 76507e5929ecde39aa94c6e02ea18e399feda196 Mon Sep 17 00:00:00 2001 From: TongZiGang <754383023@qq.com> Date: Wed, 16 Jul 2025 18:12:25 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BB=A3=E7=A0=81=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnityGame/Assets/Editor/GameUI/UIExportToolEditor.cs | 2 +- UnityGame/Assets/Scripts/GameLogic/Export/UGUI/UIMainView.cs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/UnityGame/Assets/Editor/GameUI/UIExportToolEditor.cs b/UnityGame/Assets/Editor/GameUI/UIExportToolEditor.cs index 3a27b44..e2ae610 100644 --- a/UnityGame/Assets/Editor/GameUI/UIExportToolEditor.cs +++ b/UnityGame/Assets/Editor/GameUI/UIExportToolEditor.cs @@ -143,7 +143,7 @@ public class UIExportToolEditor : Editor sb.AppendLine(" /// "); sb.AppendLine(" /// "); - sb.AppendLine($" public {element.FindPropertyRelative("selectedComponentName").stringValue} {element.FindPropertyRelative("key").stringValue}"); + sb.AppendLine($" public {element.FindPropertyRelative("selectedComponentName").stringValue} {element.FindPropertyRelative("key").stringValue};"); } sb.AppendLine(" public override void PreLoad(GameObject view)"); sb.AppendLine(" {"); diff --git a/UnityGame/Assets/Scripts/GameLogic/Export/UGUI/UIMainView.cs b/UnityGame/Assets/Scripts/GameLogic/Export/UGUI/UIMainView.cs index 21c10cc..637a727 100644 --- a/UnityGame/Assets/Scripts/GameLogic/Export/UGUI/UIMainView.cs +++ b/UnityGame/Assets/Scripts/GameLogic/Export/UGUI/UIMainView.cs @@ -1,6 +1,3 @@ -using System.Collections; -using System.Collections.Generic; -using CreatGame.UI; using UnityEngine; using UnityEngine.UI; @@ -23,5 +20,5 @@ namespace CreatGame.UI StarBtn = GetGameObject(nameof(StarBtn)).GetComponent