소스 검색

修复ILRT模式报错

tanghai 7 년 전
부모
커밋
92e7a5b18f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 new List<Type>();
 			}
 			}
 
 
-			return this.appDomain.LoadedTypes.Values.Select(x => x.ReflectionType);
+			return this.appDomain.LoadedTypes.Values.Select(x => x.ReflectionType).ToList();
 #else
 #else
 			if (this.assembly == null)
 			if (this.assembly == null)
 			{
 			{