소스 검색

简化一小点代码

tanghai 4 년 전
부모
커밋
45391abaf6

+ 0 - 8
Unity/Assets/Bundles/Code.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 55d9010d6a87934468703901aa518c85
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: code.unity3d
-  assetBundleVariant: 

+ 1 - 6
Unity/Assets/Mono/CodeLoader.cs

@@ -39,16 +39,11 @@ namespace ET
 			
 			this.hotfixTypes = Type.EmptyTypes;
 			this.hotfixTypes = appDomain.LoadedTypes.Values.Select(x => x.ReflectionType).ToArray();
+			this.start = new ILStaticMethod(appDomain, "ET.Entry", "Start", 0);
 #else
 
 			System.Reflection.Assembly assembly = System.Reflection.Assembly.Load(assBytes, pdbBytes);
 			hotfixTypes = assembly.GetTypes();
-#endif
-			
-
-#if ILRuntime
-			this.start = new ILStaticMethod(appDomain, "ET.Entry", "Start", 0);
-#else
 			this.start = new MonoStaticMethod(assembly, "ET.Entry", "Start");
 #endif
 		}

+ 0 - 9
Unity/Assets/Plugins/WSA/ARM.meta

@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: e6375603a0a1e2647b0c426b27646eb7
-folderAsset: yes
-timeCreated: 1490146877
-licenseType: Free
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Unity/Assets/Plugins/WSA/ARM64.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: b284462c23637734f888e5ecc413044e
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 9
Unity/Assets/Plugins/WSA/x64.meta

@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 4d5a7116d7e9a33409205303635b8635
-folderAsset: yes
-timeCreated: 1490146877
-licenseType: Free
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 9
Unity/Assets/Plugins/WSA/x86.meta

@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 6e0f35de38a8ed24fa8b20d444c9ee5e
-folderAsset: yes
-timeCreated: 1490146877
-licenseType: Free
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 9
Unity/Assets/Plugins/WebGL.meta

@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: e7f3a5adb034d684cb13cb257c29a1c3
-folderAsset: yes
-timeCreated: 1504062948
-licenseType: Pro
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: