From d42dde2bed1790709951ddae084cd2654e313091 Mon Sep 17 00:00:00 2001 From: vurtne14 Date: Mon, 26 Aug 2024 17:18:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E5=B7=A5=E5=85=B7bu?= =?UTF-8?q?g=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Editor/LanguageTool/LanguageTool.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/Scripts/Editor/LanguageTool/LanguageTool.cs b/Assets/Scripts/Editor/LanguageTool/LanguageTool.cs index f4b662b17b..e03af9a1a4 100644 --- a/Assets/Scripts/Editor/LanguageTool/LanguageTool.cs +++ b/Assets/Scripts/Editor/LanguageTool/LanguageTool.cs @@ -411,6 +411,10 @@ namespace Assets.Scripts.Editor.LanguageTool for (int i = 1; i < csvArr.Length; i++) { string[] strList = csvArr[i].Split(','); + if(strList.Length<=1) + { + continue; + } string prefabName = DecodeStr(strList[1]); string imgObjPath = string.Format("{0}#{1}", DecodeStr(strList[2]), DecodeStr(strList[3])); if (!dic.ContainsKey(prefabName))