mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Merge pull request #11147 from LurkerAbove/patch-2
Fix incorrect C# code sample in viewports.rst
This commit is contained in:
@@ -181,7 +181,7 @@ it using (for example):
|
||||
.. code-tab:: csharp
|
||||
|
||||
// Wait until the frame has finished before getting the texture.
|
||||
await RenderingServer.Singleton.ToSignal(RenderingServer.SignalName.FramePostDraw);
|
||||
await ToSignal(RenderingServer.Singleton, RenderingServer.SignalName.FramePostDraw);
|
||||
// You can get the image after this.
|
||||
|
||||
Viewport Container
|
||||
|
||||
Reference in New Issue
Block a user