From ba8e9b5bb3a60e0febb6603ed048509f127d5c86 Mon Sep 17 00:00:00 2001 From: GwWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sat, 3 Jan 2026 13:23:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ResourceFactorySystem):=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E8=B5=84=E6=BA=90=E5=B7=A5=E5=8E=82=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 System 命名空间引用 - 将 _assetCatalogSystem 替换为 _resourceLoadSystem - 保持原有的资产目录系统注入逻辑 --- GFramework.Godot/assets/AbstractResourceFactorySystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GFramework.Godot/assets/AbstractResourceFactorySystem.cs b/GFramework.Godot/assets/AbstractResourceFactorySystem.cs index fe6ebd3..d30ff0d 100644 --- a/GFramework.Godot/assets/AbstractResourceFactorySystem.cs +++ b/GFramework.Godot/assets/AbstractResourceFactorySystem.cs @@ -1,3 +1,4 @@ +using System; using GFramework.Core.Abstractions.enums; using GFramework.Core.extensions; using GFramework.Core.system; @@ -64,7 +65,7 @@ public abstract class AbstractResourceFactorySystem : AbstractSystem, IResourceF protected override void OnInit() { _registry = new ResourceFactory.Registry(); - _assetCatalogSystem = this.GetSystem(); + _resourceLoadSystem = this.GetSystem(); _assetCatalogSystem = this.GetSystem(); }