refactor(generator): 将GameContext类改为静态类

- 修改GameContext为静态类以符合设计要求
- 保持原有的架构上下文功能不变
- 优化类的访问方式和内存使用
This commit is contained in:
GwWuYou 2025-12-30 18:56:25 +08:00
parent 0be919d8b1
commit 8a01178cc4

View File

@ -58,7 +58,7 @@ public class ContextAwareGeneratorSnapshotTests
namespace GFramework.Core.architecture
{
using GFramework.Core.Abstractions.architecture;
public class GameContext{
public static class GameContext{
/// <summary>
/// 获取字典中的第一个架构上下文
/// </summary>