export-table-pulgin-csharp 1.1.160 → 1.1.162
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.
|
@@ -143,7 +143,7 @@ namespace ${exportNamespace}
|
|
|
143
143
|
#if UNITY_EDITOR
|
|
144
144
|
public static void LoadInEditor(bool force = false, System.Func<string, string> pathConverter = null)
|
|
145
145
|
{
|
|
146
|
-
if ((!force) &&
|
|
146
|
+
if ((!force) && UnityEditor.EditorApplication.isPlaying)
|
|
147
147
|
{
|
|
148
148
|
var tip = $"cannot load ${RowClass}[] with LoadInEditor at runtime";
|
|
149
149
|
Debug.LogError(tip);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "export-table-pulgin-csharp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.162",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@types/commander": "2.12.2",
|
|
15
15
|
"@types/node": "^17.0.18",
|
|
16
|
-
"export-table-lib": "^1.0.
|
|
16
|
+
"export-table-lib": "^1.0.67",
|
|
17
17
|
"fs": "^0.0.1-security",
|
|
18
18
|
"fs-extra": "^10.0.0",
|
|
19
19
|
"fse": "^4.0.1"
|
|
@@ -143,7 +143,7 @@ namespace ${exportNamespace}
|
|
|
143
143
|
#if UNITY_EDITOR
|
|
144
144
|
public static void LoadInEditor(bool force = false, System.Func<string, string> pathConverter = null)
|
|
145
145
|
{
|
|
146
|
-
if ((!force) &&
|
|
146
|
+
if ((!force) && UnityEditor.EditorApplication.isPlaying)
|
|
147
147
|
{
|
|
148
148
|
var tip = $"cannot load ${RowClass}[] with LoadInEditor at runtime";
|
|
149
149
|
Debug.LogError(tip);
|