Browse Source

增加一些常用的assembly到link.xml,减少需要整包更新的可能

大爷 1 year ago
parent
commit
efe3aa87fe
1 changed files with 18 additions and 0 deletions
  1. 18 0
      Unity/Assets/link.xml

+ 18 - 0
Unity/Assets/link.xml

@@ -17,4 +17,22 @@
   <assembly fullname="UnityEngine.CoreModule" preserve="all"/>
   <assembly fullname="UnityEngine.AssetBundleModule" preserve="all"/>
   <assembly fullname="UnityEngine.AudioModule" preserve="all"/>
+  <assembly fullname="Unity.Mathematics" preserve="all"/>
+  <assembly fullname="System.Core" preserve="all"/>
+  <assembly fullname="FairyGUI.Runtime" preserve="all"/>
+  <assembly fullname="mscorlib">
+    <type fullname="System.Environment" preserve="all" />
+    <type fullname="System.Func`2" preserve="all" />
+    <type fullname="System.Threading.CancellationToken" preserve="all" />
+    <type fullname="System.Threading.CancellationTokenSource" preserve="all" />
+    <type fullname="System.Threading.Tasks.TaskFactory" preserve="all" />
+  </assembly>
+  <assembly fullname="System">
+    <type fullname="System.Collections.Generic.SortedDictionary`2" preserve="all" />
+    <type fullname="System.Collections.Generic.SortedDictionary`2/ValueCollection" preserve="all" />
+    <type fullname="System.Collections.Generic.SortedDictionary`2/ValueCollection/Enumerator" preserve="all" />
+  </assembly>
+  <assembly fullname="Unity.RenderPipelines.Universal.Runtime">
+    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalCameraData" preserve="all" />
+  </assembly>
 </linker>