Skip to content

Conversation

@AtelierFerrofell
Copy link
Contributor

Another small fix for section "Getting notified when resources change":

The C# examples were putting OnResourceSet() and OnResourceChanged() outside of class definitions, likely to match the placement of _on_resource_set() and _on_resource_changed() in the GDScript examples. But C# class scopes are not the entire file, so these placements are invalid. I moved them to right before the closing bracket of MyTool.

… C# example

OnResourceSet() and OnResourceChanged() were invalidly defined outside of the class examples
@AThousandShips AThousandShips added topic:dotnet area:manual Issues and PRs related to the Manual/Tutorials section of the documentation topic:plugin labels Aug 6, 2025
@mhilbrunner mhilbrunner merged commit dde2ecd into godotengine:master Aug 11, 2025
1 check passed
@mhilbrunner
Copy link
Member

Thank you! Merged.

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 topic:dotnet topic:plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants