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