Преглед изворни кода

1.升级MemoryPack到1.10.0,nuget的MemoryPack也到1.10.0
2.切换CodeMode,自动RegenerateCSProject

tanghai пре 2 година
родитељ
комит
3cc5ad2f3f

+ 1 - 2
DotNet/ThirdParty/DotNet.ThirdParty.csproj

@@ -59,8 +59,7 @@
     <ItemGroup>
         <PackageReference Include="CommandLineParser" Version="2.8.0" />
         <PackageReference Include="EPPlus" Version="5.8.8" />
-
-        <PackageReference Include="MemoryPack" Version="1.9.13" />
+        <PackageReference Include="MemoryPack" Version="1.10.0" />
         <PackageReference Include="MongoDB.Driver" Version="2.17.1" />
         <PackageReference Include="NLog" Version="4.7.15" />
         <PackageReference Include="SharpZipLib" Version="1.3.3" />

+ 2 - 0
Unity/Assets/Scripts/Editor/BuildEditor/BuildEditor.cs

@@ -134,6 +134,8 @@ namespace ET
                 this.globalConfig.CodeMode = codeMode;
                 EditorUtility.SetDirty(this.globalConfig);
                 AssetDatabase.SaveAssets();
+                
+                BuildHelper.ReGenerateProjectFiles();
             }
 
             EPlayMode ePlayMode = (EPlayMode)EditorGUILayout.EnumPopup("EPlayMode: ", this.globalConfig.EPlayMode);

+ 1 - 1
Unity/Packages/packages-lock.json

@@ -12,7 +12,7 @@
       "depth": 0,
       "source": "git",
       "dependencies": {},
-      "hash": "9aa51ce1e8da24e27053bf2448c127c4263c2096"
+      "hash": "2554e81f0315ddf835026940ccc4ba8175edfda3"
     },
     "com.gwiazdorrr.betterstreamingassets": {
       "version": "file:betterstreamingassets",