diff --git a/Assets/DemoGame/GameRes/ExcelTemplate.txt b/Assets/DemoGame/GameRes/ExcelTemplate.txt index cf3c05b..2048e68 100644 --- a/Assets/DemoGame/GameRes/ExcelTemplate.txt +++ b/Assets/DemoGame/GameRes/ExcelTemplate.txt @@ -23,7 +23,7 @@ public class #CLASSNAME#Excel private #CLASSNAME#s _datas; public #CLASSNAME#s Datas => _datas; - public TestDataExcel() + public #CLASSNAME#Excel() { _filePath = $"{Application.streamingAssetsPath}/ExcelData/{_fileName}.json"; var text = File.ReadAllText(_filePath); diff --git a/Assets/DemoGame/GameScript/Editor/ExcelEditor.cs b/Assets/DemoGame/GameScript/Editor/ExcelEditor.cs index c529906..b8f9de3 100644 --- a/Assets/DemoGame/GameScript/Editor/ExcelEditor.cs +++ b/Assets/DemoGame/GameScript/Editor/ExcelEditor.cs @@ -339,7 +339,7 @@ namespace ZEditor var json = JsonConvert.SerializeObject(table); string newStr = "{" + $"\"{fileName}List\":" + json + "}"; - Debug.Log(newStr); + // Debug.Log(newStr); string filePath = genDataPath + "/" + fileName + ".json"; if (!File.Exists(filePath)) {