diff --git a/Assets/05.TableTextConversion/Editor/Excel/ICSharpCode.SharpZipLib.dll b/Assets/05.TableTextConversion/Editor/Excel/ICSharpCode.SharpZipLib.dll deleted file mode 100644 index e829ebf..0000000 Binary files a/Assets/05.TableTextConversion/Editor/Excel/ICSharpCode.SharpZipLib.dll and /dev/null differ diff --git a/Assets/05.TableTextConversion/Editor/Excel/ICSharpCode.SharpZipLib.dll.meta b/Assets/05.TableTextConversion/Editor/Excel/ICSharpCode.SharpZipLib.dll.meta deleted file mode 100644 index 9764745..0000000 --- a/Assets/05.TableTextConversion/Editor/Excel/ICSharpCode.SharpZipLib.dll.meta +++ /dev/null @@ -1,24 +0,0 @@ -fileFormatVersion: 2 -guid: 92cce7f762d252b40853ec8cfca85b7c -timeCreated: 1453461718 -licenseType: Pro -PluginImporter: - serializedVersion: 1 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - platformData: - Any: - enabled: 1 - settings: {} - Editor: - enabled: 0 - settings: - DefaultValueInitialized: true - WindowsStoreApps: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/05.TableTextConversion/RunTime/Use/ReadDumpInformation.cs b/Assets/05.TableTextConversion/RunTime/Use/ReadDumpInformation.cs index 1e9d1e3..5fe50cf 100644 --- a/Assets/05.TableTextConversion/RunTime/Use/ReadDumpInformation.cs +++ b/Assets/05.TableTextConversion/RunTime/Use/ReadDumpInformation.cs @@ -1,26 +1,13 @@ using System.Threading.Tasks; using UnityEngine; -#if HotUpdate using YooAsset; -#endif namespace Stary.Evo.TableTextConversion { public static class ReadDumpInformation { public static async Task Read() where T : ScriptableObject, ITableData { -#if NotUpdate - var conf = Resources.Load(typeof(T).Name); - if (conf != null) - { - return conf; - } - else - { - Debug.LogError("UnityEvo:" + "配置文件:" + typeof(T).Name + "加载失败!!!"); - return null; - } -#elif HotUpdate + var conf = YooAssets.LoadAssetAsync($"Config_{typeof(T).Name}"); await conf.Task; if (conf.Status == EOperationStatus.Succeed) @@ -32,8 +19,6 @@ namespace Stary.Evo.TableTextConversion Debug.LogError("UnityEvo:" + "配置文件:" + typeof(T).Name + "加载失败!!!"); return null; } -#endif - return default(T); // 或抛出异常 } #if UNITY_EDITOR