export-table-pulgin-csharp 1.1.158 → 1.1.159

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,8 +150,8 @@ namespace ${exportNamespace}
150
150
  throw new System.Exception(tip);
151
151
  }
152
152
  var loadUrl = pathConverter == null ? LoadUrl : pathConverter(LoadUrl);
153
- var configJson = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
154
- if (configJson != null)
153
+ var configLiteral = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
154
+ if (configLiteral != null)
155
155
  {
156
156
  var obj = new TempA()
157
157
  {
@@ -159,7 +159,7 @@ namespace ${exportNamespace}
159
159
  };
160
160
  try
161
161
  {
162
- // JsonUtility.FromJsonOverwrite("{\\"a\\":"+configJson+"}", obj);
162
+ // JsonUtility.FromJsonOverwrite("{\\"a\\":"+configLiteral+"}", obj);
163
163
  ConfigAssetLoader.LoadConfigs(configLiteral, Configs);
164
164
  }
165
165
  catch(System.Exception ex)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.158",
3
+ "version": "1.1.159",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {},
@@ -150,8 +150,8 @@ namespace ${exportNamespace}
150
150
  throw new System.Exception(tip);
151
151
  }
152
152
  var loadUrl = pathConverter == null ? LoadUrl : pathConverter(LoadUrl);
153
- var configJson = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
154
- if (configJson != null)
153
+ var configLiteral = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
154
+ if (configLiteral != null)
155
155
  {
156
156
  var obj = new TempA()
157
157
  {
@@ -159,7 +159,7 @@ namespace ${exportNamespace}
159
159
  };
160
160
  try
161
161
  {
162
- // JsonUtility.FromJsonOverwrite("{\\"a\\":"+configJson+"}", obj);
162
+ // JsonUtility.FromJsonOverwrite("{\\"a\\":"+configLiteral+"}", obj);
163
163
  ConfigAssetLoader.LoadConfigs(configLiteral, Configs);
164
164
  }
165
165
  catch(System.Exception ex)