跳过主要内容
GDT
Skill免费

Godot C#

/godot-csharp

Write Godot 4.7 games in C#: node classes and lifecycle, [Export] fields, signals as C# events and calls between C# and GDScript.

GitHub 星数
2,085
(所在仓库星数,统计于 2026-10-21)
许可证
Apache-2.0
最近提交
2026/10/09
作者
gamedev-skills

所属合集

Awesome Gamedev Agent Skills

74 portable SKILL.md skills for Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE and Roblox, with a router.

信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。

安装

Any agent (skills CLI)
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill godot-csharp

Installs only this skill. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.

命令照搬项目 README。在本机运行前,请先看一眼仓库。

为指定 Agent 安装
Agent-a文件夹
Claude Codeclaude-code.claude/skills/
Codexcodex.agents/skills/
Cursorcursor.agents/skills/
Gemini CLIgemini-cli.agents/skills/
GitHub Copilotgithub-copilot.agents/skills/
OpenCodeopencode.agents/skills/
Windsurfwindsurf.windsurf/skills/

在命令后加 -a <参数>。以上是项目级文件夹;加 -g 则安装到你的用户目录。

包含内容

  • Worked steps: A node script: lifecycle, [Export], GetNode<T>; Signals as C# events; Instancing a scene in C#; Interop with GDScript nodes
  • A pitfalls section with the mistakes to avoid
  • Bundled 1 reference doc the agent reads when needed
  • Written for Godot 4.7

适合

  • Writing Godot game code in C# (.cs files, .csproj), needing the Godot .NET build, converting GDScript patterns to C#
  • Wiring Godot signals as C# events

试试这条提示词

提示词
Convert my player script from GDScript to C# with exported fields and signals.

关于这个 Skill

Use C#/.NET in Godot 4.7: partial classes extending nodes, the PascalCase lifecycle (_Ready/_Process/_PhysicsProcess), [Export] fields, [Signal] delegates as C# events, type-safe node lookup, and calling between C# and GDScript. Use when writing Godot game code in C# (.cs files, .csproj), needing the Godot .NET build, converting GDScript patterns to C#, or wiring Godot signals as C# events.

From the godot-csharp SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.

What's inside

  • A node script: lifecycle, [Export], GetNode
  • Signals as C# events
  • Instancing a scene in C#
  • Interop with GDScript nodes

环境要求

  • Godot 4.7

常见问题

搭配使用

作者标注的相关 Skills,或更适合相邻任务的 Skills。

Awesome Gamedev Agent Skills 中的更多 Skills

查看全部 42 个

相似 skills