From 3122b368c0a11f1488ec95b19ddfacc0c8e55192 Mon Sep 17 00:00:00 2001 From: SaNeOr Date: Thu, 22 Feb 2024 00:40:26 +0800 Subject: [PATCH] Additional docs: c# mainloop needs to be registered in the global class --- doc/classes/MainLoop.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/MainLoop.xml b/doc/classes/MainLoop.xml index 458b3d4107a..17cc0d78d39 100644 --- a/doc/classes/MainLoop.xml +++ b/doc/classes/MainLoop.xml @@ -30,6 +30,7 @@ [csharp] using Godot; + [GlobalClass] public partial class CustomMainLoop : MainLoop { private double _timeElapsed = 0;