浏览代码

excel说明支持换行

guodong 2 年之前
父节点
当前提交
9c2095323c
共有 2 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      GameClient/Assets/Editor/Excel/CodeBuilder.cs
  2. 二进制
      GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes

+ 1 - 0
GameClient/Assets/Editor/Excel/CodeBuilder.cs

@@ -276,6 +276,7 @@ namespace GFGEditor
         }
         }
         private static void ParseDataColumn(string annotation, string type, string name, string nameWhole, string typeWhole, int index)
         private static void ParseDataColumn(string annotation, string type, string name, string nameWhole, string typeWhole, int index)
         {
         {
+            annotation = annotation.Replace("\n", " ");
             if (type.Length > 0 && name.Length > 0)
             if (type.Length > 0 && name.Length > 0)
             {
             {
 
 

二进制
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes