模块集成
介绍 DI、Table Loader、Localization、Addressables 和 UI 的组合方式。
Table 与 Localization
表中保存翻译键,而不是翻译后的文本。
Table 与 Addressables
在表中管理 IconAddress 和 SfxAddress,加载的资源在 View 关闭时释放。
DI 服务层
用接口包装静态管理器可以提高可测试性。将 ITableService、ILocalizationService 和 IItemService 注册到 GlobalInstaller,并注入 View。