Explorar o código

修复ILRT模式报错

tanghai %!s(int64=7) %!d(string=hai) anos
pai
achega
92e7a5b18f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Unity/Assets/Scripts/Entity/Hotfix.cs

+ 1 - 1
Unity/Assets/Scripts/Entity/Hotfix.cs

@@ -42,7 +42,7 @@ namespace ETModel
 				return new List<Type>();
 			}
 
-			return this.appDomain.LoadedTypes.Values.Select(x => x.ReflectionType);
+			return this.appDomain.LoadedTypes.Values.Select(x => x.ReflectionType).ToList();
 #else
 			if (this.assembly == null)
 			{