C# code for custom MainLoop missing critical attribute #8799
Labels
area:class reference
Issues and PRs about the class reference, which should be addressed on the Godot engine repository
bug
topic:dotnet
Milestone
Your Godot version: 4.2
Issue description:
C# code for MainLoop page missing critical attribute. As per this commit, in order for Godot to see your custom C# MainLoop, it needs to have the [GlobalClass] attribute. Without this attribute you get the message: "Error: MainLoop type doesn't exist: CustomMainLoop".
URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_mainloop.html
Proposed code:
The text was updated successfully, but these errors were encountered: