mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-23 03:04:29 +08:00
- 添加了控制器类模板文件 ControllerTemplate.cs - 在项目文件中添加 Godot 目录的排除规则 - 更新项目引用和编译排除规则 - 统一项目配置中的路径格式 - 添加控制器模板的元数据信息 - [skip ci]
23 lines
531 B
C#
23 lines
531 B
C#
// meta-name: 控制器类模板
|
|
// meta-description: 负责管理场景的生命周期和架构关联
|
|
using Godot;
|
|
using GFramework.Core.Abstractions.controller;
|
|
using GFramework.SourceGenerators.Abstractions.logging;
|
|
using GFramework.SourceGenerators.Abstractions.rule;
|
|
|
|
|
|
[ContextAware]
|
|
[Log]
|
|
public partial class _CLASS_ :_BASE_,IController
|
|
{
|
|
/// <summary>
|
|
/// 节点准备就绪时的回调方法
|
|
/// 在节点添加到场景树后调用
|
|
/// </summary>
|
|
public override void _Ready()
|
|
{
|
|
|
|
}
|
|
}
|
|
|