mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-25 13:33:28 +08:00
refactor(logging): 更新GameArchitecture继承方式
移除了GameArchitecture类中对Architecture<GameArchitecture>的泛型继承, 改为直接继承Architecture基类,简化了架构实现并保持了相同的功能。
This commit is contained in:
parent
96bf8a1982
commit
065f997654
@ -217,7 +217,7 @@ logger.Info("应用程序启动");
|
|||||||
### 1. 在 Architecture 中使用
|
### 1. 在 Architecture 中使用
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
public class GameArchitecture : Architecture<GameArchitecture>
|
public class GameArchitecture : Architecture
|
||||||
{
|
{
|
||||||
protected override void Init()
|
protected override void Init()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user