From f518099f73acbbe6cfed242b4403f6c553a220ba 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 (cherry picked from commit 3122b368c0a11f1488ec95b19ddfacc0c8e55192) --- doc/classes/MainLoop.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/MainLoop.xml b/doc/classes/MainLoop.xml index f009f554b53..db67849dcbe 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;