export-table-pulgin-csharp 1.0.49 → 1.0.51

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ExportUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAe,MAAM,kBAAkB,CAAA;AAGlI,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAgDnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAyCzE;AAED,qBAAa,iBAAkB,SAAQ,UAAU;IAChD,IAAI,SAAU;IACd,IAAI,EAAE,MAAM,EAAE,CAAY;IAE1B,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAmBpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CAqB3C"}
1
+ {"version":3,"file":"ExportUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAe,MAAM,kBAAkB,CAAA;AAGlI,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAgDnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA0CzE;AAED,qBAAa,iBAAkB,SAAQ,UAAU;IAChD,IAAI,SAAU;IACd,IAAI,EAAE,MAAM,EAAE,CAAY;IAE1B,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAmBpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CAsB3C"}
@@ -74,6 +74,7 @@ function exportUJsonLoader(paras) {
74
74
  using lang.json;
75
75
  using UnityEngine.AddressableAssets;
76
76
  using System.Threading.Tasks;
77
+ using UnityEngine;
77
78
 
78
79
  namespace MEEC.ExportedConfigs
79
80
  {
@@ -139,6 +140,7 @@ namespace MEEC.ExportedConfigs
139
140
  ${(0, export_table_lib_1.foreach)(tables, (table) => `
140
141
  yield return ${table.name}.Load;
141
142
  `)}
143
+ yield break;
142
144
  }
143
145
  }
144
146
  }
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
7
- "pub": "npm-publish --token=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"
8
7
  },
9
8
  "repository": {
10
9
  "type": "git",
@@ -67,6 +67,7 @@ export function exportUJsonLoader(paras: HandleSheetParams): string | null {
67
67
  using lang.json;
68
68
  using UnityEngine.AddressableAssets;
69
69
  using System.Threading.Tasks;
70
+ using UnityEngine;
70
71
 
71
72
  namespace MEEC.ExportedConfigs
72
73
  {
@@ -132,6 +133,7 @@ namespace MEEC.ExportedConfigs
132
133
  ${foreach(tables, (table) => `
133
134
  yield return ${table.name}.Load;
134
135
  `)}
136
+ yield break;
135
137
  }
136
138
  }
137
139
  }