Explorar el Código

chore:删除错误的引用

chenbin hace 6 días
padre
commit
0f67c05eba

+ 3 - 6
Assets/Scripts/Business/Runtime/FGUI/Common/RenamePanel/CommonRenamePanelCtrl.cs

@@ -4,12 +4,9 @@
 /// 该脚本由模板创建
 /// created by cb 2024
 
-using Codice.CM.Client.Differences;
 using FairyGUI;
-using FL.Data;
 using System;
 using XGame.Framework.UI;
-using static Codice.Client.BaseCommands.Import.Commit;
 
 namespace FL.FGUI
 {
@@ -18,7 +15,7 @@ namespace FL.FGUI
         public int limitWordCount; // 限制修改的字数
         public string title;       // 改名标题
         public string tipsDesc;    // 提示文本
-        public Action<string,bool> renameCallback;//改名回调函数
+        public Action<string, bool> renameCallback;//改名回调函数
     }
 
     /// <summary>
@@ -79,8 +76,8 @@ namespace FL.FGUI
             _bChange = false;
             _rename = string.Empty;
             _renameCallback = param.renameCallback;
-            if (!string.IsNullOrEmpty(param.title))VM.PopWin.title = param.title;
-            if (!string.IsNullOrEmpty(param.tipsDesc))VM.TipsDescLabel.text = param.tipsDesc;
+            if (!string.IsNullOrEmpty(param.title)) VM.PopWin.title = param.title;
+            if (!string.IsNullOrEmpty(param.tipsDesc)) VM.TipsDescLabel.text = param.tipsDesc;
             // 设置最大字数限制
             if (param.limitWordCount > 0)
             {

+ 0 - 1
Assets/Scripts/Business/Runtime/FGUI/Player/PassiveSkillListItem/PlayerPassiveSkillListItemCtrl.cs

@@ -8,7 +8,6 @@ using FairyGUI;
 using System;
 using XGame.Database;
 using XGame.Framework.UI;
-using static Codice.CM.Common.Serialization.PacketFileReader;
 
 namespace FL.FGUI
 {