X Tutup
Skip to content

Added EditorScript C# code examples to Running code in the editor#11748

Merged
skyace65 merged 6 commits intogodotengine:masterfrom
Jack-Pettigrew:add-C#-tools-code
Feb 20, 2026
Merged

Added EditorScript C# code examples to Running code in the editor#11748
skyace65 merged 6 commits intogodotengine:masterfrom
Jack-Pettigrew:add-C#-tools-code

Conversation

@Jack-Pettigrew
Copy link
Contributor

  • Added C# code example for EditorScript::_Run() function override
  • Added C# code example for EditorScript practical example
  • Added Note regarding being unable to run C# tool scripts from the Godot script editor
    • Advises using an alternative approach mentioned earlier in the same documentation

I've attempted to keep the C# code examples as similar as possible to their GDScript counterparts to minimise drift.

Please let me know if any changes are required! 🙏🏻

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The C# changes look good to me, thanks!

@Calinou Calinou added enhancement topic:dotnet area:manual Issues and PRs related to the Manual/Tutorials section of the documentation topic:editor Related to editor features or workflows labels Feb 19, 2026
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Great work 🙂

@skyace65 skyace65 merged commit 8e444e4 into godotengine:master Feb 20, 2026
1 check passed
@skyace65
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.6 enhancement topic:dotnet topic:editor Related to editor features or workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup