From 665889c852fb52193cfe1b5b6ce30b3748488780 Mon Sep 17 00:00:00 2001 From: Shawn Hardern <126725649+ShawnHardern@users.noreply.github.com> Date: Thu, 22 Aug 2024 20:56:25 +0100 Subject: [PATCH] Update C# examples for Using Viewports documentation --- tutorials/rendering/viewports.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/rendering/viewports.rst b/tutorials/rendering/viewports.rst index 4594252adace..19927a23ac96 100644 --- a/tutorials/rendering/viewports.rst +++ b/tutorials/rendering/viewports.rst @@ -181,7 +181,7 @@ it using (for example): .. code-tab:: csharp // Wait until the frame has finished before getting the texture. - RenderingServer.FramePostDraw += HandlePostDraw; + await RenderingServer.Singleton.ToSignal(RenderingServer.SignalName.FramePostDraw); // You can get the image after this. Viewport Container