|
@@ -88,14 +88,14 @@ namespace ET
|
|
|
{
|
|
|
Dictionary<string, Type> typesInAssembly = new Dictionary<string, Type>();
|
|
|
Assembly modelAss = null;
|
|
|
-
|
|
|
+#if ! UNITY_EDITOR
|
|
|
var battleDlls = (await YooAssetProxy.LoadAssetAsync<ConfigStringList>("HotupdateBattleDlls")).GetAssetObject<ConfigStringList>();
|
|
|
foreach (var dll in battleDlls.List)
|
|
|
{
|
|
|
Log.Info($"to load: {dll}");
|
|
|
Assembly.Load((await YooAssetProxy.GetRawFileAsync(dll)).GetRawBytes());
|
|
|
}
|
|
|
-
|
|
|
+#endif
|
|
|
var hotDlls = (await YooAssetProxy.LoadAssetAsync<ConfigKeyValueMap>("HotupdateDlls")).GetAssetObject<ConfigKeyValueMap>();
|
|
|
foreach(var kv in hotDlls.keyValueMaps)
|
|
|
{
|