外观
安装 GeWuYou.GFramework.Godot.SourceGenerators,让根目录的 project.godot 作为 AdditionalFiles 参与编译。NuGet 包自动添加根目录文件;仓库内的项目引用可显式指定。
GeWuYou.GFramework.Godot.SourceGenerators
project.godot
AdditionalFiles
[autoload] 生成 GFramework.Godot.Generated.AutoLoads,[input] 生成 GFramework.Godot.Generated.InputActions。用生成的动作名接入输入绑定。添加或重命名 Godot 动作后重新构建。
[autoload]
GFramework.Godot.Generated.AutoLoads
[input]
GFramework.Godot.Generated.InputActions