From 41661c8a6f89963b0769e03b5fa74535ce1a6990 Mon Sep 17 00:00:00 2001
From: GeWuYou <95328647+GeWuYou@users.noreply.github.com>
Date: Thu, 5 Feb 2026 20:35:11 +0800
Subject: [PATCH] =?UTF-8?q?refactor(scene):=20=E6=9B=B4=E6=96=B0=E5=9C=BA?=
=?UTF-8?q?=E6=99=AF=E5=8A=A0=E8=BD=BD=E5=99=A8=E6=8E=A5=E5=8F=A3=E7=BB=A7?=
=?UTF-8?q?=E6=89=BF=E5=AE=9E=E7=94=A8=E5=B7=A5=E5=85=B7=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 为 ISceneLoader 接口添加对 IUtility 的继承
- 在文件顶部添加 GFramework.Core.Abstractions.utility 命名空间引用
- 使场景加载器接口具备实用工具的基本功能
---
GFramework.Core.Abstractions/scene/ISceneLoader.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/GFramework.Core.Abstractions/scene/ISceneLoader.cs b/GFramework.Core.Abstractions/scene/ISceneLoader.cs
index 9646dc7..b55eb71 100644
--- a/GFramework.Core.Abstractions/scene/ISceneLoader.cs
+++ b/GFramework.Core.Abstractions/scene/ISceneLoader.cs
@@ -11,12 +11,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+using GFramework.Core.Abstractions.utility;
+
namespace GFramework.Core.Abstractions.scene;
///
/// 定义场景加载器的接口,用于管理场景的加载、替换和卸载操作。
///
-public interface ISceneLoader
+public interface ISceneLoader : IUtility
{
///
/// 获取当前加载的场景对象。